[Lazarus] Message dialogs in Lazarus

zeljko zeljko at holobit.net
Thu Dec 16 07:52:09 CET 2010


On Wednesday 15 December 2010 21:14, michael.vancanneyt at wisa.be wrote:
> On Wed, 15 Dec 2010, Michael Van Canneyt wrote:
> > On Wed, 15 Dec 2010, zeljko wrote:
> >> On Wednesday 15 December 2010 16:00, michael.vancanneyt at wisa.be wrote:
> >>> When project information file changes:
> >>>
> >>> "Project changed on disk"
> >>> "The project information file "sopmefile" has changed on disk."
> >>> "Ignore" "yes"
> >>>
> >>> No question, and 'Ignore', 'yes'.
> >>
> >> ahhh....Buttons[].Caption should be used in AskUser(), not resource
> >> strings ... fixed in r 28723 :)
> >> Please retest.
> >
> > Works perfect, thank you very much !
>
> I didn't pay attention on this the first time, but: the buttons no longer
> display the images associated with the modal results when a questiondialog
> is used:
> - start ide
> - Start new project
> - Move main form
> Close IDE.
> -> 'Save changes to project project1'
> With correct texts on the buttons, but no more images.

Will be fixed, that's because buttons under gtk2 get image only if it's gtk's 
stock button caption eg. 'gtk-yes', 'gtk-no'.So must add stock id image to 
button by hand.

zeljko




More information about the Lazarus mailing list