Wrong behavior in the get cursor

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
PedroAlex
Posts: 229
Joined: Tue Feb 09, 2010 3:06 am

Wrong behavior in the get cursor

#1 Post by PedroAlex »

hello,

Wrong behavior in the get cursor

I am having problems with cursor behavior in gets.
The problem occurs when I need to use colors in gets
This little program demonstrates the situation.
What am I doing wrong?
I have this type of configuration in many applications and after compiling with release 267 I started having these problems.

For example, the hilteget clause is not working properly.
Someone could compile and confirm that the problem occurs.

Xbase 2.0.1176 and eXpress 267.

Many thanks
Attachments
Teste_2022.rar
(1.39 KiB) Downloaded 560 times
Pedro Alexandre

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Wrong behavior in the get cursor

#2 Post by rdonnay »

Your Kill Focus block is wrong.
There is a mistake in the README.TXT file. That will be corrected.

This is correct:

Code: Select all

DC_XbpGetKillInputFocusBlock(;
    {|x,y,o| o:savePos := o:get:pos, ;
        o:DateFlag := .T., ;
        IIF(o:isGetDataOnLostFocus,o:getData(),nil), ;
        IIF(o:isGetDataOnLostFocus,o:setData(),nil), ;
        o:Home(), ;
        DC_HiliteGets(o,2,o:getList:getOptions[nGETOPT_HILITECOLOR]), ;
        DC_ColorGets(o,2,o:getList:getOptions[aGETOPT_COLORGETS]), ;
        DC_PopupButtonShow(o,.f.)})
The eXpress train is coming - and it has more cars.

User avatar
PedroAlex
Posts: 229
Joined: Tue Feb 09, 2010 3:06 am

Re: Wrong behavior in the get cursor

#3 Post by PedroAlex »

Roger.

Now it is OK.

Thanks
Pedro Alexandre

Post Reply