Search found 489 matches

by BasicScience
Oct 12, 2008 7:24
Forum: Libraries & Headers
Topic: (Another) FB GUI Project
Replies: 16
Views: 5837

As promised... updates added to FB_GUI.

Version 1.01 (Oct 12 2008 release)

1 - Added Text_wrap and Vertical_Scrollbar to TextBox
2 - Added CheckBox as a new control
3 - Cleaned up some of the code (always more to go on that one :-P

Link to download

http://sites.google.com/site/freebasicgui/Home
by BasicScience
Oct 08, 2008 2:30
Forum: Libraries & Headers
Topic: (Another) FB GUI Project
Replies: 16
Views: 5837

Yes, good idea. This has turned into more of a Project than a Tip & Trick.
by BasicScience
Oct 07, 2008 17:55
Forum: Libraries & Headers
Topic: (Another) FB GUI Project
Replies: 16
Views: 5837

I have added scroll bar capabilities (horizontal and vertical) to the textbox controls. Will also add radio_button / checkbox controls.

These updates will be posted on the web site soon.

Also though of moving or duplicating this thread on the Projects forum.
by BasicScience
Sep 30, 2008 2:15
Forum: Libraries & Headers
Topic: (Another) FB GUI Project
Replies: 16
Views: 5837

Try re-posting the screen shot in PNG format.

Image[/img]
by BasicScience
Sep 29, 2008 17:01
Forum: Sources, Examples, Tips and Tricks
Topic: Gfx Window Control (Windows Only)
Replies: 4
Views: 1762

Thanks for the MSDN link. The "simple" options are easy to use, like WS_CAPTION,0. I experimented a bit and tried some of the more interesting options listed on MSDN. For example WS_HSCROLL,1 puts a handy horizontal scroll bar at the bottom of the window, but it doesn't seem to "scrol...
by BasicScience
Sep 29, 2008 16:49
Forum: Libraries & Headers
Topic: (Another) FB GUI Project
Replies: 16
Views: 5837

Yes, I know... a compressed format would be much better. I just got lazy. I'll change the image on the website (although it will kill the link on my posting). BTW, I was confused about how to post an image (PNG or JPG) on the forum so that it gets launched as an image, not listed as a link. Tried us...
by BasicScience
Sep 29, 2008 14:15
Forum: Sources, Examples, Tips and Tricks
Topic: Gfx Window Control (Windows Only)
Replies: 4
Views: 1762

Um.... sorry to be so dense, but what are the "windows style constants WS_ "? Are these the window mode flags in the GFX library, e.g. GFX_FULLSCREEN (&h01)? Secondly, which include files are required? I tried #include once "ext/graphics.bi" #include once "fbgfx.bi"...
by BasicScience
Sep 29, 2008 13:32
Forum: Libraries & Headers
Topic: (Another) FB GUI Project
Replies: 16
Views: 5837

Are you able to open the URL and see the listing of downloads? I tried it this morning. The checkboxes to the left are not functional, but if you right-click on any file, it can be downloaded.

Sorry about the clumsy download. It's the "google sites" free web hosting.
by BasicScience
Sep 28, 2008 20:11
Forum: Libraries & Headers
Topic: (Another) FB GUI Project
Replies: 16
Views: 5837

It only uses one Win API, FileOpenDialogBox. Everything else is FB and FB Extended Lib.
by BasicScience
Sep 28, 2008 20:07
Forum: General
Topic: TextBox: text highlight under mouse control
Replies: 9
Views: 3261

Hmmm... are you sure the program can find tahoma.ttf on your machine? Another possibility may be that the FreeBasic Extended Library is not loaded. Here's the link http://code.google.com/p/fb-extended-lib/ Rather than following up on this partial project on TextBox... I suggest you check out the mor...
by BasicScience
Sep 28, 2008 19:10
Forum: Libraries & Headers
Topic: (Another) FB GUI Project
Replies: 16
Views: 5837

(Another) FB GUI Project

Over the past few weeks, I have been developing a set of FB routines to emulate common WIN API controls (Cmd_Button, Menu_Drop_down, TextBox, Form). The rationale was that (for many of us) it is difficult to write code to access the WIN API, especially to pass data back and forth. Moreover, writing ...
by BasicScience
Sep 23, 2008 21:20
Forum: General
Topic: Converting small BMP to DATA statement
Replies: 11
Views: 2189

Very Cool! Your code worked perfectly, with one small modification. I only needed an 8 x 8 image (you had originally set up 16 x 16). Anyway, here's the output for My_Image_Array.BAS which works great static as uinteger image_array(0 to 71) => { _ &H00000007, &H00000004, &H00000008, &...
by BasicScience
Sep 23, 2008 17:48
Forum: General
Topic: Converting small BMP to DATA statement
Replies: 11
Views: 2189

Converting small BMP to DATA statement

I used a drawing program to create a small 8 x 8 pixel BMP file to represent a check mark. I can successfully load this into a FB.Image buffer and PUT this to the screen as needed. image_check = imagecreate (8,8) BLoad "check8.bmp", image_check My question is, can I embed the representatio...
by BasicScience
Sep 23, 2008 14:09
Forum: General
Topic: TextBox: text highlight under mouse control
Replies: 9
Views: 3261

With the exception of the very helpful examples posted on this forum for using the FileOpenDialog Box, my experience with calling Win API routines from FreeBasic has been very frustrating. Sure... it's not too tough to write code for a demo that puts all kinds of fancy Win Controls on the console. B...
by BasicScience
Sep 18, 2008 20:24
Forum: General
Topic: GFX_Windowed mode coordinate bug?
Replies: 1
Views: 1142

GFX_Windowed mode coordinate bug?

In any GFX_Windowed Mode with a frame (&h0, &h04, &h20) wherein the Screen_Height approaches the limit of the monitor (so the frame gets crunched against the edge of the monitor), there is a discrepancy between the y-coordinate returned in GetMouse and that of an object drawn on the scre...