Antonio,
Ttabcltrl class , add() method not add to data aprompts.
Best regard!
Shuming Wang
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Antonio,
Ttabcltrl class , add() method not add to data aprompts.
Best regard!
Shuming Wang
wich version you have ?
On 7.12 run ok
Silvio,
harbour 1.1 rc +fwh712
otabs:=TTabControl():Redefine( 200, oDlg )
otabs:baction:={||plan0105(otabs:noption)}
activate dialog odlg on init a1()
return
function a1()
otabs:add("aaa")
otabs:add("bbb")
?valtype(otabs:aprompts)
// nil
return
Shuming Wang
can you send me a mini test please
Silvio,
You can see the prompts on dialog work, but you can't get ?(otabs:aprompts[2])
Regards !
Shuming Wang
If you look at the Add method, the new prompt, cPrompt, is being added to the Windows tab control, but not to the aPrompts array of the FW Tab object. Apparently, aPrompts is not being used anywhere, so it doesn't really matter that it is not being updated in the Add() method.
James