bb.donnay-software.com

Donnay Software Web Forums
It is currently Mon May 20, 2019 5:40 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat May 04, 2019 10:51 am 
Offline

Joined: Tue Feb 12, 2019 7:58 am
Posts: 4
Hi everyone...
My customers said me that the gets works diferent in this new compilation from 2.0 than they was usin in 1.9 version...
I noticed that this new version has mor memory than 1.9, when I fill the gets and finish this gets, If I want to use the same gets, but without data, I can clean the data, but Alaska remember the last position in this gets, and this is very rare to the customers when you work with keyboard only.
For example, if I'm fillin numeric gets like this
Code: 1229191
Price: 12,20
Qty: 1,2
When I clean the data and star to collect new data, without destroying the gets, when I go to the Price the cursos reamin in the last decimal position, and when I start to write, only decimal number can I write if I don't move manuali with cursor to the begining of the get.
I can go to the beginning with oGetPrice:home() but 1.9 version this woks to home allways.
There are anything to put all the gets reset to the origin parameters, like when I create the new dialog with the gets for the first time?
Thank you all ;)


Top
 Profile  
 
PostPosted: Sun May 05, 2019 9:02 am 
Offline

Joined: Wed Jan 27, 2010 10:25 pm
Posts: 336
Location: Berlin Germany
This is related to a change in one of the last eXPress versions.
Put this in the beginning of your program:
Code:
DC_XbpGetSetInputFocusBlock( {|x,y,o|nil, ;
                IIF(!Empty(o:get:buffer),o:get:pos := o:savePos,nil), ;
                o:DateFlag := .T., ;
                o:Home(), ;
                DC_HiliteGets(o,1,o:getList:getOptions[nGETOPT_HILITECOLOR]), ;
                DC_ColorGets(o,1,o:getList:getOptions[aGETOPT_COLORGETS]), ;
                nil} )

_________________
_______________________
Best Regards
Wolfgang


Top
 Profile  
 
PostPosted: Mon May 13, 2019 10:06 am 
Offline

Joined: Tue Feb 12, 2019 7:58 am
Posts: 4
Thank you Wolfgang Ciriack, I didn't kew that...

But I put this code and it doen't work like 1.9... it is difficult to explain... the PICT is more important now...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group