Search the web
Sign In
New User? Sign Up
fnxbasic
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
New user questions   Message List  
Reply | Forward Message #14 of 43 |
Re: New user questions

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
>





Mon Dec 1, 2008 5:17 pm

byteshaper
Offline Offline
Send Email Send Email

Forward
Message #14 of 43 |
Expand Messages Author Sort by Date

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...
John Spikowski
johnspikowski
Offline Send Email
Nov 30, 2008
9:08 pm

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...
byteshaper
Offline Send Email
Dec 1, 2008
5:17 pm

... Thanks for your response but I'm talking about the MySQL demo that comes with the FnxBasic. As soon as I try to run it using the login info for my MySQL...
John Spikowski
johnspikowski
Offline Send Email
Dec 1, 2008
7:25 pm

I think the problem is in mysql.lib, just open it (notepad) and replace the 'open' command with 'mysql.open' there is a conflict with the basic function open. ...
byteshaper
Offline Send Email
Dec 2, 2008
4:46 pm

... I made the change as your recomended but I now getting a GPF with the generated program. John...
John Spikowski
johnspikowski
Offline Send Email
Dec 2, 2008
9:09 pm

... I didn't notice the error message box before sending my last e-mail. John "Runtime error at 0049FBAE"...
John Spikowski
johnspikowski
Offline Send Email
Dec 2, 2008
9:13 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help