Search found 246 matches

by Marco
Tue Oct 15, 2013 3:35 pm
Forum: General category
Topic: Question about RND function
Replies: 9
Views: 13180

Question about RND function

yes, i had to look in my readme. It comes with the next update.
And the next update comes soon.
So please wait a little, i had to check fnx before the update.

best regards marco
by Marco
Fri Oct 04, 2013 3:52 pm
Forum: General category
Topic: Read INI-Section with API-function
Replies: 4
Views: 8471

Read INI-Section with API-function

I don`t know if you can use it but an ini file is just a text file so you can read it with the filestream component.
Here`s the code to test.
best regards

dim f as filestream,c as integer
f.open("fnxbasic.ini")
for c=1 to f.linecount
  print f.readline
next c
showmessage "wait"
by Marco
Thu Oct 03, 2013 4:23 pm
Forum: General category
Topic: Print image & contents of RichEdit on one sheet
Replies: 1
Views: 4643

Print image & contents of RichEdit on one sheet

hi, maybe this will help you ?best regardscode:dim p as printerdim logo as bitmaplogo.loadfromfile("fnxlogo.bmp")object f as form? object r as richedit? ? addtext("jhgjhghjghj")? ? addtext("kjkljkljkljkljlkjklj")? end object? object b as button? ? top=f.clientheight-40?...
by Marco
Tue Sep 17, 2013 2:52 pm
Forum: General category
Topic: Languagefiles for IdealEditor 1.1
Replies: 7
Views: 15423

Languagefiles for IdealEditor 1.1

hi,I shall take a look at the uploading problem. I think it is a diskspace problem at the host.

best regards
by Marco
Mon Jul 29, 2013 3:32 pm
Forum: examples
Topic: Close btn
Replies: 4
Views: 7435

Close btn

That is not easy because you must intercept the nonclientarea messages.Here` s an example to do that, mostly used for games.best regards` example to intercept window messagesconst htclose=20const pm_remove=1const WM_NCLBUTTONDOWN=&ha1const WM_NCLBUTTONUP=&ha2record MSGrecord  hwnd as in...
by Marco
Wed Jul 24, 2013 3:26 pm
Forum: examples
Topic: Close btn
Replies: 4
Views: 7435

Close btn

This will do, it is also in the folder with examples (forms).best regards`form with a onclose dialogobject myform as form  caption="Onclose dialog"   center  onclose=myformCloseend objectmyform.showmodalsub myformclose(s as form,action as integer)  dim answer as integer...
by Marco
Wed Jul 03, 2013 3:34 pm
Forum: General category
Topic: FnxBasic 64 Bit Version
Replies: 1
Views: 4648

FnxBasic 64 Bit Version

No i don`t know how to create a 64 bit version, I also need to rewrite the whole program to work in real 64 bit version. And i need to buy a very expensive program to do that. Further than a simulated 64 bit version it can not come meaning you think you are running 64 bit but it is still 32 bit.But ...
by Marco
Thu May 02, 2013 3:55 pm
Forum: General category
Topic: API call - How to?
Replies: 3
Views: 6305

API call - How to?

Hi, here`s an example.  You have to try it out.I did not testet it because it`s not a filled in example.I hope it helps otherwise send a message or comment.best regards marcoRecord Rect  Left As Long  Top As Long  Right As Long  Bottom As LongEnd RecordDeclare Send as "...
by Marco
Fri Apr 26, 2013 9:00 pm
Forum: General category
Topic: Folder Dialog
Replies: 1
Views: 4440

Folder Dialog

hi, something like this?`Example browse for folderrecord BrowseInfo  hWndOwner As Long  pIDLRoot As Long  pszDisplayName As Long  lpszTitle As Long  ulFlags As Long  lpfnCallback As Long  lParam As Long  iImage as longend recordDeclare getpath as "SHGetPa...
by Marco
Sun Mar 10, 2013 4:44 pm
Forum: examples
Topic: GetPixel app
Replies: 2
Views: 5178

GetPixel app

getpixel gets the color of a place on the screen, desktop, not only the form that is active.  getdesktopwind finds the window handle of the desktop to use in combination with getdc. this dc (device context) is used with getpixel.The above is used to get a pixelcolor at any place of the desktop....