tzal
-
Posts
13 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Posts posted by tzal
-
-
Or you can use:
//{$define UNIGUI_VCL} // Comment out this line to turn this project into an ISAPI module{$ifndef UNIGUI_VCL}{$E dll}library{$else}{$E exe}program{$endif}Project1;- 1
-
I use this:
procedure SetPanelRoundBorders(const APanel: TUniPanel; APixels: Integer = 5); begin APanel.ClientEvents.ExtEvents.Add ('OnAfterrender=function OnAfterrender(sender){' + 'sender.body.applyStyles('#39'border-radius:' + IntToStr(APixels) + 'px'#39');}'); end;
-
For Delphi 2009+ you can use anonymous method (closure):
MessageDlg('Are you delete this record?', mtConfirmation, mbYesNo, procedure(AResult: Integer) begin case AResult of mrYes: UniEdit1.Text := 'YES'; // UniMemo1.Lines.Add('YES'); mrNo : UniEdit1.Text := 'NO'; // UniMemo1.Lines.Add('NO'); end; end);
-
Could be possible to put it as a read only property of ServerModule for both Design Time and Run Time?
I am also interested in.
-
function OnClick(sender, e) { alert(MainForm.UniLabel1.getText()); }
-
Is there a method to call to detect the type of browser?
I need to determine if the request is coming from an ipad and if yes i need to redirect to a different location
thanks..
this project is fantastic!
uses uniGUIApplication, ExtPascal; case UniSession.Browser of brIE: ; brFirefox: ; brChrome: ; brOpera: ; brSafari: ; brKonqueror: ; else // something else end;
Integrate simple REST service with uniGUI
in General
Posted
Then I could call the web service like this:
Thanks for any idea.