Page 1 of 2

Posted: Mon Mar 17, 2003 3:45 pm
by BackupUser
Restored from previous forum. Originally posted by ebs.

Fred and Berikco,

I know I'm slow , but I just got the 3.60 update. The Visual Designer is great! Now my only problem is having too many good tools to use. I bought Paul's PureVision and I like it a lot too. Each tool has some features the other doesn't.

I have a couple of questions/observations:

1. A PanelGadget with more than one tab: The individual tabs can be selected by clicking on them in the Objects Viewer window. If you press the Delete key, the selected tab disappears from the Objects Viewer, but it is still shown on the PanelGadget in the window. The PanelGadget will be redrawn with the correct number of tabs if you select it and move it. The source code creates the number of tabs shown in the Objects Viewer.

2. Is there any way to place gadgets on a PanelGadget tab, so that they are created on the tab and move when you move the PanelGadget?

3. Is there any way to add columns in a ListViewGadget or ListIconGadget?

I want to say a big "Thank you!" for all the hard work put in by everyone connected with PureBasic. Like some others here, I come from a background of C/C++ and Visual Basic, but I've used PureBasic for my last three projects. My customers still can't believe that the programs delivered are only 50KB! The only problem is that they want to pay me less, since such a small program must have been very easy to write!

Regards,
Eric

Posted: Mon Mar 17, 2003 3:51 pm
by BackupUser
Restored from previous forum. Originally posted by freak.

> The only problem is that they want to pay me less, since such a small program must have been
> very easy to write!

LOL

1. looks to me like a small bug.
2. no, but you can use the 'Selection Tool', select all, and then move them together.
an Option for grouping Gadgets together is planned.
3. no, there is no way to do that.

Timo

Posted: Mon Mar 17, 2003 3:57 pm
by BackupUser
Restored from previous forum. Originally posted by Rings.
Originally posted by ebs
My customers still can't believe that the programs delivered are only 50KB! The only problem is that they want to pay me less, since such a small program must have been very easy to write!
Whats about a nice Compiler Command called BLOATED(Multiplyer) which increase the exe to make it VB alike ?


Its a long way to the top if you wanna .....CodeGuru

Posted: Mon Mar 17, 2003 4:17 pm
by BackupUser
Restored from previous forum. Originally posted by ricardo.
]
Whats about a nice Compiler Command called BLOATED(Multiplyer) which increase the exe to make it VB alike ?

PowerBasic has one to bloate the executable just for this same reason!!

Its easy to do it just including some binary that its never used or extracted by the application.

Best Regards

Ricardo

Dont cry for me Argentina...

Posted: Mon Mar 17, 2003 4:30 pm
by BackupUser
Restored from previous forum. Originally posted by Berikco.
Originally posted by ebs

1. A PanelGadget with more than one tab: The individual tabs can be selected by clicking on them in the Objects Viewer window. If you press the Delete key, the selected tab disappears from the Objects Viewer, but it is still shown on the PanelGadget in the window. The PanelGadget will be redrawn with the correct number of tabs if you select it and move it. The source code creates the number of tabs shown in the Objects Viewer.
Yes seems a refresh bug, il take a look
2. Is there any way to place gadgets on a PanelGadget tab, so that they are created on the tab and move when you move the PanelGadget?
gadgets on the tabs of pannel is not possible for now, the X/Y positions starts at 0/0 in the corner of the panel, under the tabs.
if you put gadget on y - 20, its not visible.
3. Is there any way to add columns in a ListViewGadget or ListIconGadget?
not possible for now.
I want to say a big "Thank you!" for all the hard work put in by everyone connected with PureBasic.

Thanks, Fred an me did not have any free time last 4 months, so i'l take vacation now...... :)
Like some others here, I come from a background of C/C++ and Visual Basic, but I've used PureBasic for my last three projects. My customers still can't believe that the programs delivered are only 50KB! The only problem is that they want to pay me less, since such a small program must have been very easy to write!
That's your problem



Regards,

Berikco

http://www.benny.zeb.be/purebasic.htm

Posted: Mon Mar 17, 2003 7:25 pm
by BackupUser
Restored from previous forum. Originally posted by Berikco.
Originally posted by ebs
1. A PanelGadget with more than one tab: The individual tabs can be selected by clicking on them in the Objects Viewer window. If you press the Delete key, the selected tab disappears from the Objects Viewer, but it is still shown on the PanelGadget in the window. The PanelGadget will be redrawn with the correct number of tabs if you select it and move it. The source code creates the number of tabs shown in the Objects Viewer.
Fixed for 3.70.......or whatever the next version number will be :)

Regards,

Berikco

http://www.benny.zeb.be/purebasic.htm

Posted: Mon Mar 17, 2003 10:29 pm
by BackupUser
Restored from previous forum. Originally posted by Berikco.

A fixed designer version 3.61 is available at http://users.pandora.be/sels-alamo/visu ... r_3.61.zip



Regards,

Berikco

http://www.benny.zeb.be/purebasic.htm

Posted: Tue Mar 18, 2003 2:22 pm
by BackupUser
Restored from previous forum. Originally posted by ebs.

Berikco,

Thank you! Between you and Fred, the service around here is amazing! :)

Eric
Originally posted by Berikco

A fixed designer version 3.61 is available at http://users.pandora.be/sels-alamo/visu ... r_3.61.zip



Regards,

Berikco

http://www.benny.zeb.be/purebasic.htm

Posted: Tue Mar 18, 2003 10:49 pm
by BackupUser
Restored from previous forum. Originally posted by ricardo.

@Berikco

Very nice work the Visual Ide :)

One suggestion:

Maybe you can explain us how the format of the project files because i want to make some tool that let me convert old codes to your gui builder.
Im not asking for the code, just for the format of the project file. I need to be able to open some sources on the Visual Designer


Thanks in advance.


Best Regards

Ricardo

Dont cry for me Argentina...

Posted: Thu Mar 20, 2003 5:13 pm
by BackupUser
Restored from previous forum. Originally posted by fred.

Why not parse the output ? The visual editor format is closed for now.

Fred - AlphaSND

Posted: Thu Mar 20, 2003 7:30 pm
by BackupUser
Restored from previous forum. Originally posted by ricardo.
Originally posted by fred

Why not parse the output ? The visual editor format is closed for now.
??? I dont understand or maybe im not clear on my question.

Imagine i have an code with all my windows and gadgets... now, i want to make a tool that takes my windows and gadgets from that code and build a project file for the visual designer then i can open it on the visual designer, change my gadgets, save it and then my tool will replace the windows and gadgets from my code.

I just want to know the format of the .pbv project file saved by the visual designer, NOT the source code.

Why do i want to do all those process? because some codes that i have has many windows and many many gadgets and i dont want to start from scratch if a want to make just a few changes.



Best Regards

Ricardo

Dont cry for me Argentina...

Posted: Thu Mar 20, 2003 8:15 pm
by BackupUser
Restored from previous forum. Originally posted by fred.

Ok, ok :). May be bericko will publish a document on this format, if you are kind enough with him...

Fred - AlphaSND

Posted: Thu Mar 20, 2003 8:25 pm
by BackupUser
Restored from previous forum. Originally posted by ricardo.
Originally posted by fred

Ok, ok :). May be bericko will publish a document on this format, if you are kind enough with him...
Thanks

Best Regards

Ricardo

Dont cry for me Argentina...

Posted: Thu Mar 20, 2003 9:36 pm
by BackupUser
Restored from previous forum. Originally posted by Berikco.

Changed the flag menu in windows structure to byte, thx rings

Code: Select all

PureBasic Visual Designer
Project pbv file format
=============================
Variable	Size	Value
=============================

FileVersion	Long	1

-----------------------------
Window		Long	1000
NumericID	Long
Flags		Long
x		Word
y		Word
Width		Word
Height		Word
Min		Word	0
Max		Word	0
Menu		Byte	1=menu 
Len(Title)      Long
Title		String
Len(gadgetID)	Long
gadgetID	String

------------------------------
gadget          Long	2000
NumericID	Long
WindowID	Long
ParentID	Long
Flags		Long
Len(GadgetID)   Long
GadgetID	String
Len(Title)	Long
Title		String
Len(Tooltip)    Long
Tooltip		String
x		Word
y		Word
Width		Word
Height		Word
Min		Long
Max		Long
Type		Word	type*
TabNumber	Word

-type*------------------------
Button       = 14
String       = 15
CheckBox     = 16
Panel        = 17
Frame3D      = 18
Text         = 19
Option       = 20
Web          = 21
ButtonImage  = 22
Tree         = 23
ListView     = 24
ListIcon     = 25
ComboBox     = 26
Spin         = 27
TrackBar     = 28
ProgressBar  = 29
Image        = 30
IPAddress    = 31
Not Used     = 32
StatusBar    = 33
Field        = 34
Tab 	     = 35
menu	     = 36

------------------------------
PanelInfo     	Long	4000
NumericID	Long
CurrentTabID	Long

------------------------------
Menuitem 	Long	3000
NB_Items	Long	NB_Items*
NumericID)	Long
ParentID)	Long
WindowID)	Long
PopupCounter)	Long
MenuNumber)	Long
PopupNumber)	Long
PopupParent)	Long
Len(GadgetID)	Long
GadgetID)) 	Long
Len(Title)	Long
Title		Long
Type		Word	Type**

-NB_Items*--------------------
Number of menuitems + 3000
Only first Menuitem in the file has NB_Items field

-Type**-----------------------
Title     = 1
Item      = 2
Separator = 3
Submenu   = 4

-----------------------------------
UseMultiLanguage	Long	100
Value			Long	
-----------------------------------
IncludeEventLoop	Long	101
Value			Long
-----------------------------------
IncludeBinaryBitmaps	Long	102
Value			Long
-----------------------------------
Len(GeneratedFilename)	Long	103
GeneratedFileName	String
-----------------------------------
DefaultGridSize		Long	104
Value


Regards,

Berikco

http://www.benny.zeb.be/purebasic.htm

Posted: Thu Mar 20, 2003 10:54 pm
by BackupUser
Restored from previous forum. Originally posted by ricardo.

Thanks!! : )

Best Regards

Ricardo

Dont cry for me Argentina...