FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour question on how to delete "tab" of Tfolder
Posts: 57
Joined: Sun Apr 12, 2009 10:51 AM

question on how to delete "tab" of Tfolder

Posted: Sun Apr 12, 2009 11:22 AM

Hello everybody,
I am not a professional programmer, doing programming as a hobby.
Recently, I am interested in TFolder class since I were allowed to maniplulate part of screen without changing whole screen.

To maximize it's usage, I tried to delete 'tab' parts, but, it generated 'error'.

REDEFINE FOLDER oFolder ID 100 OF ::oDlg PROMPTS "Product","Molecule" DIALOGS "MMGPAGE1", "MMGPAGE2"
-> it worked!

REDEFINE FOLDER oFolder ID 100 OF ::oDlg DIALOGS "MMGPAGE1", "MMGPAGE2"
-> I tried to delete "Product", "Molecule" tabs, but, it returned following error description:
Error Base/1111 Argument errer: Len
Called from Len(0)
Called from TFolder:Redefine(194)
Called from TMain:new(56)
Called from Main(33)

Please help me.

Thanks.

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: question on how to delete "tab" of Tfolder

Posted: Sun Apr 12, 2009 01:50 PM
Hello Kim,

please have a look at FWH\samples\Genfold.prg
As well You can also Enable / Disable a Folder-page :
oFld:aEnable = { .t., .t., .f., .f. } // .t. = enable, .f. = disable

Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 57
Joined: Sun Apr 12, 2009 10:51 AM

Re: question on how to delete "tab" of Tfolder

Posted: Mon Apr 13, 2009 05:06 AM
ukoenig wrote:Hello Kim,

please have a look at FWH\samples\Genfold.prg
As well You can also Enable / Disable a Folder-page :
oFld:aEnable = { .t., .t., .f., .f. } // .t. = enable, .f. = disable

Regards
Uwe :-)


Thanks so much for your advice.
Kim yong woo

Continue the discussion