Search found 11 matches

by Bruno FR28
Sat Sep 01, 2012 10:23 am
Forum: discbugs
Topic: treeView : AddItem
Replies: 0
Views: 7447

treeView : AddItem

Bonjour/Hello,In a TreeView, I have a problem when i want to insert a new node :With the methods AddItem, i give the index of the node "father", but it is always added at the end of the nodes "brothers". How can i define the position of the new node "son" (like First, L...
by Bruno FR28
Thu Aug 16, 2012 8:17 am
Forum: General category
Topic: I cannot create arrays of controls
Replies: 6
Views: 13851

I cannot create arrays of controls

Bonjour/ helloOk,In the next version, is it possible to create new objectlikedim my_obj as objectmy_obj = create (button) or my_obj = new(form)and free(my_obj) at the end.with that, we can create object window by program.and if we can have dim my_obj(n) as objectthat wil be perfect... wtih user obje...
by Bruno FR28
Tue Aug 14, 2012 11:49 am
Forum: General category
Topic: I cannot create arrays of controls
Replies: 6
Views: 13851

I cannot create arrays of controls

Bonjour, hello

and with FNX Apr 2012?

i have no syntax error on declare :
dim btn(50) as facebutton
dim nb as integer
nb= 1

but on this line :
btn(nb).left=10
error compiler :  error 8 line 24 `LEFT` not declared/unknown

     
Cordialement/Regards
Bruno.
by Bruno FR28
Mon Aug 13, 2012 5:25 pm
Forum: General category
Topic: API : Short, Integer and Long ByAddress
Replies: 4
Views: 10791

API : Short, Integer and Long ByAddress

Bonjour, Hellothnakyou for the answer , but i try , and i have an access violation in my program!!! with this 2 types of writing 1) I declare : rowcount as long, and use by fonction_name.rowcount=long_var 2) I declare : rowcount as long byaddress, and use by fonction_name.rowcount=long_varmessage er...
by Bruno FR28
Sat Aug 11, 2012 12:51 pm
Forum: discbugs
Topic: message compilation error : add the filename
Replies: 1
Views: 4185

message compilation error : add the filename

Bonjour/hello,this is a idea to improve the next version...I have a program with uses d?claration. When I compile and if I have a error, the message give the error  number and the line. not the filename.and because the FNXeditor goes at the line number on the opening file (not the real file wit...
by Bruno FR28
Sat Aug 11, 2012 8:45 am
Forum: examples
Topic: Database With ODBC + FNXbasic : It works
Replies: 10
Views: 24207

Database With ODBC + FNXbasic : It works

Bonjour/hello

I read the FNXbasicHelp, and there is noway to declare user class. only record for data, but no method. and Type is just to expand existing type.

I must to write function "to the old way" (connect(db) instead db.connect for example).

Bye
Bruno
by Bruno FR28
Sat Aug 11, 2012 8:35 am
Forum: General category
Topic: API : Short, Integer and Long ByAddress
Replies: 4
Views: 10791

API : Short, Integer and Long ByAddress

Bonjour/Hellowhen I declare string variable in a function of DLL, that works well. but not with numric data. ex :declare SQLRowCount as "SQLRowCount" of "odbc32.dll"      SQLstmt as long      rowcount as short byaddress      result as ...
by Bruno FR28
Fri Aug 10, 2012 9:02 pm
Forum: examples
Topic: Database With ODBC + FNXbasic : It works
Replies: 10
Views: 24207

Database With ODBC + FNXbasic : It works

I was... i stopped writting program 12 years ago. the SQL and ODBC are 2 different things : ODBC make you program discuss with the database Engine (give orders and get the results), and the SQL manage the Data ( tell to the Data Engine what doing).i suppose in Java , you have many classes to replace...
by Bruno FR28
Fri Aug 10, 2012 8:15 pm
Forum: examples
Topic: Database With ODBC + FNXbasic : It works
Replies: 10
Views: 24207

Database With ODBC + FNXbasic : It works

oh !� �I recognize that it is hard at the beginning but it`s the normal use of the ODBC Library....But to work with DataBase, you need know 2 things : 1- SQL for working data 2 - the library to use SQL in your program here ODBCit is not very easy, otherwise why professional developper? but it is pos...
by Bruno FR28
Fri Aug 10, 2012 6:22 pm
Forum: examples
Topic: Database With ODBC + FNXbasic : It works
Replies: 10
Views: 24207

Database With ODBC + FNXbasic : It works

Hello Cviruseasy for Insert, Update.. put this code before the comment "ODBC - tape 6", in the ODBCAPI.bas ` end of previous select , remark SQL CLOSE, and not SQLDROP SQLFreeStmt.SQLStmt=glSQLstmt SQLFreeStmt.EndOption =SQL_CLOSE SQLFreeStmt.execute ` an update for example, but could be i...