by GWard » Tue Oct 18, 2005 8:46 am
Antonio,
The fonts work fine.
Unfortunately one of my applications has stopped working that was fine with the last update of 15th October.
Firstly the visibility of the open files has changed as I am getting an "Alias Not Found" error in TWBrose:onPaint where none existed before.
The function ShowRolls() access the datafile which caused the alias error.
STOCKLOC->(DbGoTop())
DEFINE WINDOW oWnd TITLE "Locations" MENU MyLocMenu()
@ 1,2 LISTBOX oLbx FIELDS STOCKLOC->ID,;
str(STOCKLOC->Rolls,4),str(STOCKLOC->CURR_VOL,10,2) ;
HEADERS "Pot","Rolls","Current Vol" SIZE 200,250 OF oWnd ;
FIELDSIZES 30,40,40 UPDATE
oLbx:blClicked := ;
{|nRow,nCol,nKeyFlags| if(oLbx:nAtCol(nCol)=2,ShowRolls(),nil)}
oLbx:lCellStyle := .T.
oLBx:bSkip := {|nRecs| STOCKLOC->(DbSkipper(nRecs))}
oLbx:bLine := {|| {STOCKLOC->Id,;
str(STOCKLOC->Rolls,4),;
str(STOCKLOC->Curr_Vol,10,2)}}
ACTIVATE WINDOW oWnd
I fixed this by opening the required files in Main()
Secondly clicking the 'X' on secondary windows now closes the entire application rather than returning to the previous window.
I believe I can fix this by having the "OK" Icon instead of the 'X' like in the various windows utilised in 'Pocket Word'
How do I configure a window to use 'OK' and return to the previous Window. I need windows rather than dialog in order to use menus.
Many thanks.