to "set" new TAB Header i use SetPrompts() from CLASS TFolder()
but what to use with CLASS TFolderEx()

p.s. CLASS TFolderEx() is not document in Help File
Code: Select all | Expand
oFld:aPrompts := aMyPrompts
// oFld:Default() // If is neccesary
Code: Select all | Expand
aPrompts := {"TAB1", "TAB2"}
oFolder:aPrompts := aclone(aPrompts)
oFolder:refresh()
Code: Select all | Expand
oFolder:aPrompts[oFolder:nOption] := "MyPrompt"
oFolder:refresh()
thx for Answerhua wrote:If you want to change all the prompts, tryCode: Select all | Expand
aPrompts := {"TAB1", "TAB2"} oFolder:aPrompts := aclone(aPrompts) oFolder:refresh()
Code: Select all | Expand
aToken := AtInside( ´\´, cPath )
aPrompts := ACLONE( oTab:aPrompts )
aPrompts[ nDim ] := UPPER( aToken[ LEN( aToken ) - 1 ] )
#ifdef Use_TFolder
oTab:SetPrompts( aPrompts )
#else
oTab:aPrompts := ACLONE( aPrompts )
oTab:Refresh()
#endif
Code: Select all | Expand
DATA aSizes
Code: Select all | Expand
nTextW = GetTextWidth()
Call of MethodJimmy wrote:hi,
when assign a new Text into TAB it does not "fit" when Text is much longer than before
i can use ::lStretch but that is "too much" ... just want that hole Text "fit"
Code: Select all | Expand
oFld:Default()