question on how to delete "tab" of Tfolder

question on how to delete "tab" of Tfolder

Postby kim yong woo » 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.
User avatar
kim yong woo
 
Posts: 57
Joined: Sun Apr 12, 2009 10:51 am
Location: Seoul, Korea

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

Postby ukoenig » Sun Apr 12, 2009 1: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 :lol:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

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

Postby kim yong woo » Mon Apr 13, 2009 5: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 :lol:


Thanks so much for your advice.
Kim yong woo
User avatar
kim yong woo
 
Posts: 57
Joined: Sun Apr 12, 2009 10:51 am
Location: Seoul, Korea


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 84 guests