hi,
I think you use the basic command open that expects a string for a
document.
You must declare the dll calls you want to use first ie :
declare aliasname as SetFocus of dllname
var as integer
var2 as string*25
end declare
then set the vars
aliasname.var=9786786789
aliasname.var2="kjghkjjhkjhjk"
aliasname''the actual call
here is an example how to use the tab:
object f as form
object t as tabcontrol
onchange=tab_change
tabs(0)="tab0"
tabs(1)="tab1"
object pan0 as panel
align=alClient
caption="panel0"
object b as button
caption="panel0"
end object
end object
object pan1 as panel
visible=False
align=alClient
caption="panel1"
end object
end object
end object
f.showmodal
sub tab_change()
select case t.TabIndex
case 0
pan0.visible=true
pan1.visible=False'' set other panels also to false if there
are more.
case 1
pan1.visible=True
pan0.visible=False'' set other panels also to false if there
are more.
end select
best regards
--- In fnxbasic@yahoogroups.com, "John Spikowski"
<johnspikowski@...> wrote:
>
> List,
>
> I started working with FnxBasic the other day and find it
refreshing and
> well thought out. This is a big change from working with HotBasic.
>
> Q. I get a 'openopen' error on the address parameter for the MySQL
example.
> I would really like to try FnxBasic with the MySQL API.
>
>
> Q. Is there a way to assign controls to a panel object and
hide/show the
> panel rather then each control separately when working with the
tab control?
>
> I really like the FnxDesigner and wanted to thank the author for a
job well
> done.
>
>
> John
>