Funny phenomenon in get-fields

Funny phenomenon in get-fields

Postby gkuhnert » Thu Nov 20, 2008 3:10 pm

Hello,

if the first character of a get-field is a "(" followed by any other characters, it isn't possible, to mark the contents of that get-field using the mouse. Also the cursor always jumps just after the "("-character, if you enter that particular get-field by left-clicking into it.
You can test and see for yourself in samples\testget2.prg.

is there a work-around possible?
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
User avatar
gkuhnert
 
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands

Postby Antonio Linares » Fri Nov 21, 2008 1:22 am

Gilbert,

This change is required in Class TGet Method LButtonUp():
Code: Select all  Expand view
      if ! Empty( ::cPicture ) .and. Left( ::cPicture, 1 ) == "(" .and. Left( cText, 1 ) == "("

Many thanks for your feedback! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 89 guests