LJDP Posted March 2, 2012 Share Posted March 2, 2012 How I can use multiline (Multiline in row) and formated text in Grid. If the solution is to use html grid in frame: How I can call a Delphi function from <a href...> tag? Sencha sample: http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/grid/paging.html thks. Quote Link to comment Share on other sites More sharing options...
zilav Posted March 2, 2012 Share Posted March 2, 2012 How I can call a Delphi function from <a href...> tag? <a href="#" onclick="ajaxRequest(MainForm.form, 'someEvent', ['param1=value1']);">Click me</a> procedure TMainForm.AjaxEvent(Sender: TComponent; EventName: string; Params: TStrings); begin if EventName='someEvent' then CallMyFunction(Params.Values['param1']); end; Quote Link to comment Share on other sites More sharing options...
LJDP Posted March 2, 2012 Author Share Posted March 2, 2012 Thanks Zilav. Quote Link to comment Share on other sites More sharing options...
JasonReid Posted March 2, 2012 Share Posted March 2, 2012 You can use normal html formatting in a stringgrid Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.