FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Missing GET cursor for numeric in Folder
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Missing GET cursor for numeric in Folder
Posted: Fri Sep 23, 2016 10:18 PM
Using this folder:

Code (fw): Select all Collapse
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 (fw): Select all Collapse
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
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Missing GET cursor for numeric in Folder
Posted: 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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Missing GET cursor for numeric in Folder
Posted: 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.

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
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Missing GET cursor for numeric in Folder
Posted: 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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Missing GET cursor for numeric in Folder
Posted: 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Missing GET cursor for numeric in Folder
Posted: Sat Sep 24, 2016 07:19 AM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Missing GET cursor for numeric in Folder
Posted: Sat Sep 24, 2016 09:29 AM

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

EMG

Continue the discussion