[Gambas-user] Issue 41 in gambas: Message.Question displays buttons in reverse order

gambas at ...2524... gambas at ...2524...
Wed Feb 23 04:16:55 CET 2011


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 41 by jonericn... at ...626...: Message.Question displays buttons in  
reverse order
http://code.google.com/p/gambas/issues/detail?id=41

Version: TRUNK -- 2.99.0
Revision: r1234 (if you use a development version)
Operating system: Linux
Distribution: Linux Mint
Architecture: x86_64 (AMD 64)
GUI component: QT4
Desktop used: Gnome

Message.Question displays the buttons in reverse order.

   Select Message.Question("Am I crazy?", "Yes", "No", "Don't know")
     Case 1
       TextLabel1.Text = "You are really crazy"
     Case 2
       TextLabel1.Text = "No you are not crazy"
     Case 3
       TextLabel1.Text = "Hard to say, isn't it?"
   End Select

This will connect the correct button with the correct answer, but the  
buttons will be displayed in the Message in reverse order.  The buttons in  
the Message should say:
(Yes) (No) (Don't know)

But the buttons actually display as:
(Don't know) (No) (Yes)

Small project is attached.

Attachments:
	TestMessage.tar.gz  5.5 KB





More information about the User mailing list