hi,
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
oFld:aPrompts := aMyPrompts
// oFld:Default() // If is neccesary
aPrompts := {"TAB1", "TAB2"}
oFolder:aPrompts := aclone(aPrompts)
oFolder:refresh()
oFolder:aPrompts[oFolder:nOption] := "MyPrompt"
oFolder:refresh()
hua wrote:If you want to change all the prompts, try
- Code: Select all Expand view
aPrompts := {"TAB1", "TAB2"}
oFolder:aPrompts := aclone(aPrompts)
oFolder:refresh()
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
DATA aSizes
nTextW = GetTextWidth()
Jimmy 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"
oFld:Default()
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 93 guests