Search found 34 matches

by gbos
Aug 03, 2010 14:46
Forum: Projects
Topic: FireFly Visual Designer for FreeBASIC (Updated March 8, 2016)
Replies: 371
Views: 117325

Great project, thanks a lot for making it available! Maybe a small bug. When trying to compile a form with a Picture control (bmp image) I receive an error error 19: Element not defined, nRight in 'FLY_hPicture = LoadImage( App.hInstance, "IMAGE_128102", IMAGE_BITMAP, FLY_RECT.nRight, FLY_RECT.nBott...
by gbos
Apr 23, 2009 13:05
Forum: Windows
Topic: Dll SubClassing
Replies: 2
Views: 1112

Sorry for anyones time for asking. I think I found whats causing it. It needs a sleep statement at the inject program of tips and tricks section so the exe is ready to be injected .... at the part of code between the process creation and dll injection. Now seems to work ok. Var AppName = "Test....
by gbos
Apr 23, 2009 9:34
Forum: Windows
Topic: Dll SubClassing
Replies: 2
Views: 1112

Dll SubClassing

After reading this topic in tips and tricks http://www.freebasic.net/forum/viewtopic.php?t=13661 I experimented a little and tried to subclass a Test.exe from inside the dll. Basically the dll prompts the user with an “are you sure” message every time he tries to close the Test.exe app. ...
by gbos
Apr 13, 2009 19:18
Forum: Beginners
Topic: Fast string concatenation
Replies: 7
Views: 1368

Thank you both for the suggestions.
by gbos
Apr 13, 2009 15:19
Forum: Beginners
Topic: Fast string concatenation
Replies: 7
Views: 1368

Fast string concatenation

Suppose I have to do the following loop for many thousand times read x …. if something is true ….. string = string & x is there an efficient way to improve the string concatenation? So far the only way to improve significantly the speed was to use many temporary strings for storage a...
by gbos
Mar 04, 2009 16:35
Forum: Tips and Tricks
Topic: Simple Stopwatch
Replies: 1
Views: 1115

Simple Stopwatch

'' Sub Declarations Declare Sub Sub1() Declare Sub Sub2() Declare Sub Sub3() Declare Sub TheTime() Declare Sub UpdateTheTimer() Declare Sub ResetAll() '' Include #include once "windows.bi" #include once "win/commctrl.bi" '' Declare...
by gbos
Sep 22, 2008 13:52
Forum: Windows
Topic: Tab Order for edit controls
Replies: 2
Views: 1166

:-) thanks, that worked.
by gbos
Sep 22, 2008 12:50
Forum: Windows
Topic: Tab Order for edit controls
Replies: 2
Views: 1166

Tab Order for edit controls

I am trying to figure out how I can set the focus to the next edit control in a windows form by using the tab key. I assume an (OR WS_TABSTOP ) addition to the styles of the Edit controls is needed and also a routine to handle WM_NEXTDLGCTL messages? So far I can’t figure it how to make this w...
by gbos
Nov 07, 2007 5:30
Forum: Tips and Tricks
Topic: SD DataGrid
Replies: 2
Views: 1760

:-) I am a noob myself on these things and to make the code work involved a lot of trial an error. Anyway after some further experimenting the part of the code for reading the value of a single cell is Dim Grid_GetCell As Function (ByVal hGrid As hwnd, ByVal CellType As Integer, ByVal Row As int...
by gbos
Oct 29, 2007 13:11
Forum: Tips and Tricks
Topic: SD DataGrid
Replies: 2
Views: 1760

SD DataGrid

For the example's code to work you will need the freeware dll from here http://www.syberden.net/ in the same folder with your application. http://img135.imageshack.us/img135/4845/gridexcv0.jpg #define WIN_INCLUDEALL '' Sub Declarations Declare Sub S_myopen() Declare Sub MakeSampleGrid(&#...
by gbos
Oct 29, 2007 8:16
Forum: Beginners
Topic: SD DataGrid
Replies: 1
Views: 1177

Edit ...

Problem Solved ... I will post a working example of the control's usage in Hints and Tips forum later.
by gbos
Oct 29, 2007 7:10
Forum: Beginners
Topic: SD DataGrid
Replies: 1
Views: 1177

SD DataGrid

Edit ... Problem Solved. I will post a working example in Hints and Tips Forum. Sorry if I wasted anyones time :-). I 'm trying to make a working example in freebasic for the SD Datagrid control. http://www.syberden.net/ The Grid is created ok in the freebasic window but I 'm stuck with making the c...
by gbos
Oct 28, 2007 16:01
Forum: Tips and Tricks
Topic: RMChart Control Example
Replies: 2
Views: 1920

RMChart Control Example

This is an example of how to use the freeware rmchart control to create charts into your freebasic windows applications. http://img220.imageshack.us/img220/189/rmchartme1.jpg The example creates two charts from scratch and also demonstrates how you can load a pre-made .rmc chart file. Basicaly all y...
by gbos
Oct 27, 2007 7:56
Forum: Tips and Tricks
Topic: Small GUI Maker
Replies: 6
Views: 3333

Unfortunately it is impossible for me to follow exactly the syntax of rapidq as the Qbutton control alone has dozens of properties, methods and events in rapidq that I can’t cover because as I said my knowledge of API is totally inadequate. My intension is to make something that creates workin...
by gbos
Oct 26, 2007 6:03
Forum: Tips and Tricks
Topic: Small GUI Maker
Replies: 6
Views: 3333

Re: How to use?

Looks very interesting. Could you describe how to use GUI-maker, step-by-step? I must be doing something wrong, because I can not seem to get the TEST example generated with GUI-maker. Don Hi. First you have to paste the test example form code (ctrl+v) into the first richedit window (make sure ther...

Go to advanced search