Jump to content

QuickStart / Where do I start?


Recommended Posts

Right now, there isnt much.. but In 2 days, I finished my app.. took me just a few hours to get up and running with the demos. Biggest thing to watch out for is


1. Dont use Global vars.

2. Watch out how messageDLG is used.. Its a different concept, see the sample code on how they are used.. Other than that, its pretty easy

Link to comment
Share on other sites

Not only MesageDlg, but every other call that stops execution in VCL delphi (ShowMessage, ShowModal, etc) won't pause in UniGUI, so the code like


if MyForm.ShowModal = mrOk then begin
 // do something

will show a form, but won't wait for a ModalResult and just continue, so "do something" will never be executed. If you want to run a code according to ModalResult, use OnClose event of that form. It is the biggest difference with UniGUI and what caused almost a half of "bug" reports on forum in the past.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...