PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 ... 10
 on: Today at 07:27:13 AM 
Started by Paul Squires - Last post by Klaas Holland
Looks nice.

Can you make a horizontal and a vertical red line when you add a new control to line up with the other controls?

 on: December 10, 2017, 03:04:37 PM 
Started by Paul Squires - Last post by Paul Squires
Here is another visual designer update post.

A tremendous amount of work complete on the internal engine that handles the creation and design of forms and controls. The PropertyList has been started as you can see in the attached animated gif. Likewise, the cut/copy/paste functionality for controls is complete and works very well.

The solid base is making it making is a lot easier to add functionality faster than I could previously. Next step will be to complete the PropertyList and then flush out all of the controls and their associated properties.

Code generation is still a ways off.  :)

 on: December 10, 2017, 09:30:47 AM 
Started by Josť Roca - Last post by Josť Roca
Changed to


Specifies the width of a rectangle.


Specifies the height of a rectangle.

Also changed SIZEF to SIZE in the entry for the SIZE structure.

BTW please note that because it is declared as Rect_ in (to avoid conflicting with GDI's Rect) and as class in, in my headers I'm using the functions GDIP_RECT, GDIP_RECTF, GDIP_POINT, GDIP_POINTF. Otherwise, there is no way to compile the same code to 32 and 64 bit. The FB headers for GDI+ need a complete rewrite.

Thinking about it, I'm going to use the aliases in the documentation, i.e. GpPoint, GpPointF, GpRect, GpRectF, GpSize and GpSizeF.

 on: December 10, 2017, 07:37:06 AM 
Started by Josť Roca - Last post by ganlinlao
I found that there is a mistake here.
rect and rectF

 on: December 09, 2017, 07:24:42 PM 
Started by Bruce Huber - Last post by Bruce Huber
Thanks a lot, Paul!  I did not think to see if the problem was caused by GDB itself.  Everything is good now.

 on: December 09, 2017, 03:44:25 PM 
Started by Marc Pons - Last post by Marc Pons
New version using class  and no more global shared vars 

1 function with only a static var

new feature rethrow   ( to collect at  level -1)

limited as 64 levels ( but be changeble via define)

could also be unlimited with a linked list (but with array is faster)
tried also alloc /realloc but carefull , the pointer of the array change....  so segfault immediatly

 on: December 09, 2017, 01:32:11 PM 
Started by Bruce Huber - Last post by Paul Squires
Hi Bruce, I was able to duplicate the problem.

I then downloaded a more recent version of GDB 64 bit from TDM-GCC and it was able to load the exe and symbol table no problem. No errors. Here is the link

As you can see, it is version 7.9.1. There is a version 8.01 out but I could not quickly find a Windows build of it.

 on: December 09, 2017, 07:27:55 AM 
Started by Josť Roca - Last post by Josť Roca
Another problem is that the ribbon api uses propvariants, and although I have done some work with the CPropVar class, it have not yet thoroughly tested it. Also FB does not provide headers and libraries for the UI interfaces and propvariants.

 on: December 09, 2017, 07:01:50 AM 
Started by Josť Roca - Last post by Josť Roca
hi ,jose
I found the class in your winapi for powerbasic package and wondered if you plan to provide a freebasic version of the cUIribbon class.
Because from windows vista, win7-win10, the system has brought uiRibbon.dll, for some do not want to use the old menu and want to use ribbon style, the use of cUIribbon class, will bring a lot of convenience.


I will see. Because FB doesn't have support for COM classes, with more than one implemented interface, it will be a bit more difficult. However, if I haven't done it yet it is because, although many people would like to use ribbons, the interest disappears suddenly when they realize that have to learn XAML, install a XAML compiler, etc. Absolutely nobody used it with PowerBasic.

 on: December 09, 2017, 06:44:47 AM 
Started by Josť Roca - Last post by Josť Roca
The FreeBasic GDI+ headers are a total mess. The ColorPalette structure is defined twice

In as:

Code: [Select]
type ColorPalette
Flags as UINT
Count as UINT
Entries(0 to 0) as ARGB
end type

and in as

Code: [Select]
type ColorPalette
Flags as UINT
Count as UINT
Entries(0 to 1-1) as ARGB
end type

Entries(0 to 0) as ARGB and Entries(0 to 1-1) as ARGB are the same. Anyway, I will change it to Entries(0 to 0).

Pages: [1] 2 3 ... 10