Missing GET cursor for numeric in Folder

Missing GET cursor for numeric in Folder

Postby TimStone » Fri Sep 23, 2016 10:18 pm

Using this folder:

Code: Select all  Expand view

DEFINE DIALOG oWdlg1 BRUSH oBrush RESOURCE "WOMAINw" TRANSPARENT OF oWdlg TITLE cTitle
    REDEFINE FOLDEREX oFld ID 356 OF oWdlg1 ;
        PROMPT "   General   ", "   Parts   ", "   Labor   ", "   Recommend   ", "   Totals   ", "   Inspect   ", "   Costing   ", "  Services  ", "   Attachments   " ;
        DIALOGS "WOGENw", "WOPARw", "WOLABw", "WORECw", "WOTOTw", "WOINSw", "WOCSTw", "WOSVCw", "WOATTw" ;
        ON CHANGE ( oCurrentOrder:FolderCheck( oFld, oWorkParts, oWorkPartsr, oWorkLabor, oWorkLaborr, ;
          oWorkNeeds, oWorkNeedsr ), oWdlg1:update() ) ;
    ROUND 5 TRANSPARENT
        oFld:aGradUnSel := { { 0.50,16776960,16777215 }, { 0.50,16777215,16776960 } }
         oFld:aGradOverUnSel := { { 0.25, nRGB( 100, 149, 237 ), nRGB( 100, 149, 237 ) },{ 0.75,  16777215,16776960 } }
 


And the .rc:
Code: Select all  Expand view

WOMAINw DIALOG 0, 0, 850, 460
STYLE WS_POPUP | WS_CAPTION
CAPTION "Workorder Development Options"
{
    CONTROL                 "", 101, "TBar", 0|WS_CHILD|WS_VISIBLE, 0,0, 850, 30
    CONTROL         "",356,"TFolderex",WS_TABSTOP,5,35,840,420
    LTEXT           "",4001,550,10,150,13
}
 


The GET:

REDEFINE GET oWorkPartsr:parlbs PICTURE "99999.99" MESSAGE aMsg[ 79 ] ID 748 OF oFld:aDialogs[ 2 ] UPDATE
And .rc
EDITTEXT 748,100,85,50,10, ES_RIGHT | ES_MULTILINE

Built with FWH 16.06, cursor does not display in any fields that are numeric and right justified. It works correctly on dialogs that are not in a folder, and it works correctly for non-numeric fields. However, when clicking on a numeric field, the cursor will not show.

I have spent two days drilling down code, re-writing code, etc. with the same result. Any ideas would be appreciated.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Missing GET cursor for numeric in Folder

Postby cnavarro » Sat Sep 24, 2016 12:32 am

Why ES_MULTILINE ?
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Missing GET cursor for numeric in Folder

Postby TimStone » Sat Sep 24, 2016 12:37 am

That was the standard for years on numeric fields defined in an .rc. At one point it was a requirement. I can't tell you why, but it was.

I just commented it out, and the cursor re-appeared. It has worked perfectly for at least 15 years ... very strange.
Last edited by TimStone on Sat Sep 24, 2016 12:42 am, edited 1 time in total.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Missing GET cursor for numeric in Folder

Postby cnavarro » Sat Sep 24, 2016 12:41 am

TimStone wrote:That was the standard for years on numeric fields defined in an .rc.


For numerics values?, or only for memo fields ?
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Missing GET cursor for numeric in Folder

Postby TimStone » Sat Sep 24, 2016 12:43 am

Whenever we wanted to right justify a numeric GET, that was the requirement. It goes back to my earliest days with FWH

Maybe Antonio has an answer.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Missing GET cursor for numeric in Folder

Postby Antonio Linares » Sat Sep 24, 2016 7:19 am

Yes, it is possible but now it seems as it is no longer needed
regards, saludos

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

Re: Missing GET cursor for numeric in Folder

Postby Enrico Maria Giordano » Sat Sep 24, 2016 9:29 am

That was a requirement for 16bit resources. No more for 32bit ones

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 70 guests