[lazarus] execute integer ?

Shane Miller smiller at lakefield.net
Mon May 17 22:38:45 EDT 1999


I looked at the new function gtk_window_set_modal( window,boolean) and
called it before the gtk_widget_show.  I didn't notice any difference with
the openfiledialog.

Currently, you Execute the opendialog and assign the opendialog.onOK to a
procedure.  When the user presses OK that procedure gets called.  Kind of
cool, but not exactly like Delphi.


Shane

-----Original Message-----
From: Shane Miller <smiller at lakefield.net>
To: lazarus at miraclec.com <lazarus at miraclec.com>
Date: Monday, May 17, 1999 7:32 PM
Subject: Re: [lazarus] execute integer ?


>The execute command was going to return a modalresult but that doesn't work
>and it also won't return a boolean because it's not really a modal dialog.
>I will try to make it modal tonight and see what happens....
>
>Shane
>
>-----Original Message-----
>From: Sergio A. Kessler <sak at perio.unlp.edu.ar>
>To: Lazarus mailing list <lazarus at miraclec.com>
>Date: Monday, May 17, 1999 3:02 PM
>Subject: [lazarus] execute integer ?
>
>
>>
>>CVS updated two minutes ago...
>>
>>why in dialogs.pp the "execute" property is an integer ?
>>it should be boolean, so I can do:
>>
>> if MyOpenDialog.Execute then
>> begin
>> { user pressed ok}
>> end
>>
>>like in Delphi.
>>
>>I can modify it and post a patch tomorow (with all the code
>>involved) if anyone want, yes ?
>>Or I should wait a little ?
>>
>>Sergio
>>
>>_________________________________________________________________
>>     To unsubscribe: mail lazarus-request at miraclec.com with
>>                "unsubscribe" as the Subject
>>    archives at http://www.miraclec.com/list_archives/lazarus
>>
>
>_________________________________________________________________
>     To unsubscribe: mail lazarus-request at miraclec.com with
>                "unsubscribe" as the Subject
>    archives at http://www.miraclec.com/list_archives/lazarus
>






More information about the Lazarus mailing list