Visual Generate Deluxe 5.x (Window, Linux, Mac)

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Visual Generate Deluxe 5.x (Window, Linux, Mac)

Post by mk-soft »

Creating of an executable program from Visual Designer, Form Designer or from of handwritten common files.

Update v5.19
- Added OpenGLGadget
- Added Create MacOS MenuEvents
- Some Bugfixes

Update v5.17
- Fixed for new FormDesigner

Update v5.14
- Added: LoadFont

Update v5.13
- Code optimize
- Recompiled Windows and Linux Version

Update v5.10
- Bugfix: Load files (UTF8)
- Added: Check WindowID
- Added: Insert UseImagePlugin into commonfile

Update v5.09
- Fixed big bug. Sorry, v5.08 is not worked

Update v5.08
- Bugfix: Update OpenWindow
- Fixed FormDesigner
-- Replace: Procedure OpenXYZ to Open_XYZ
-- Replace: Procedure InitXYZ to Open_XYZ
-- Replace: CreateStatusBar with constant
-- Replace: CreateMenu with constant
-- Replace: CreateToolBar with constant

Update v5.07 Beta
- Optimize 'Event CallFunctionFast'
- Fixes Icons and more

Update v5.05 Beta
- Support of Fileformat UTF8

Update v5.04 Beta
- Bugfixes
- search and replace contants updated
- Linuxversion 32bit

Update v5.00 Beta
- Support of Purebasic v5.xx and FormDesigner v5.xx
Visual Generate Deluxe v5.x for Purebasic

Creating of an executable program from one or several common files with complete event-handling for menus and gadgets.

Features:
- Extension of the IDs for menus and gadgets with WindowID as prefix
- Afterwards changing of the original common files
- First window as parend window
- Set Windowpostion Auto (#PB_Ignore)
- IncludeBinary Bitmaps
- Translate in MenuItem(...) '\t' to '+ #TAB$ +' for using shortcuts
- Multi Languages in one catalog file
- Creating of a default catalog file
- Saving of last preferences in project file

Process:
Add the common file(s) created with Visual Designer or Form Designer and create a project.
After that following files are available:

Main.pb - main program
Commonfile.pb - mutual used common file
EventMain.pb - event distributor
EventMenu.pb - events for menu(s)
EventGadget.pb - events for gadget(s)
EventWindow.pb - events of the window(s)
LoadLanguage.pb - data section and code for language

After changing of the original common files new events will be added
and search and replace code by changing constants

Info:
- No use character "_" for window constants
- GUI Designer. No set IncludeBinary Bitmaps

Form Designer:
- Disable PB_Any
- Disable Eventprocedures
- Disable Mainprocedures
Please write me a feedback! 8)

Downloads:
Visual Generate Deluxe Window v5.x
Visual Generate Deluxe Linux 32 v5.x
Visual Generate Deluxe Linux 64 v5.x
Visual Generate Deluxe Mac v5.x
Last edited by mk-soft on Sun Jun 22, 2014 3:15 pm, edited 21 times in total.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2137
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Post by Andre »

Now also available in the Showcase of www.PureArea.net

Visual Generate Deluxe v.4.03
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Post by mk-soft »

Small Update v4.03 Rev.20070507 Final

Example: small common file to create code

Code: Select all

; Simple common file
; Enumeration not used
; Safe as common.pb and run Visual Generate to create code

Procedure Open_MainWin() ; "Open_" is as primary key for open_window_xyz

  If OpenWindow(#MainWin, 0,0,600,400, "Main Window")
  
    If CreateMenu(#MenuBar, WindowID(#MainWin))
      MenuTitle("&File")
      MenuItem(#Menu_Exit, "E&xit\tAlt-F4")
    EndIf

    If CreateStatusBar(#StatusBar, WindowID(#MainWin))
    
    EndIf

    If CreateGadgetList(WindowID(#MainWin))
      ButtonGadget(#Button, 20,20,120,25, " My Button")
    EndIf
    
  EndIf

EndProcedure

GT :wink:
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Post by mk-soft »

UPDATE 2007-05-18

Bugfix:
- Right default code by added new window at procedure EventExit.

New:
- Now support UserGadget. Show menu preferences. Added gadgets without syntax "xyzGadget(#".
- Auto opening last project

GT :wink:
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Post by mk-soft »

Bugfix: Rev. 20070526
-BalloonTip second constant to corrected

GT :wink:
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Post by mk-soft »

Now Linux Version Available

GT :wink:
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
SofT MANiAC
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Sep 17, 2007 10:28 am
Location: P.O.P
Contact:

Post by SofT MANiAC »

count of gadgets etc. = 0
POiNT.OF.PRESENCE group
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

I must be very stupid because I do not see what this is supposed to do other than creating a .pbm file...

What is the purpose of this program?
What is the advantage of using the program?
How will it help me?

Why does this remind me of OOP?

:D
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
UserOfPure
Enthusiast
Enthusiast
Posts: 469
Joined: Sun Mar 16, 2008 9:18 am

Post by UserOfPure »

So what does it do? I ran it but can't figure it out. One step away from being deleted. :lol: Ever heard of a manual?
SofT MANiAC
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Sep 17, 2007 10:28 am
Location: P.O.P
Contact:

Post by SofT MANiAC »

wow!
I understood everything...

U must open Common.pb generated by PureBasic Visual Designer (I tried to open pbv-file :oops: )

Great tool! 8)
Why does this remind me of OOP?
.. and also of OWL, MFC and VisualBasic
What is the purpose of this program?
generate code with
complete event-handling for menus and gadgets.
[/code]
POiNT.OF.PRESENCE group
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Post by mk-soft »

Update v4.08 (Windows)

New:
- PB4.20 compatible

GT :wink:

Testcode CreateImageMenu

Code: Select all

; Simple common file
; Enumeration not used
; Safe as common.pb and run Visual Generate to create code

Procedure Open_MainWin() ; "Open_" is as primary key for open_window_xyz

  If OpenWindow(#MainWin, 0,0,600,400, "Main Window")
  
    If CreateImageMenu(#MenuBar, WindowID(#MainWin), #PB_Menu_ModernLook)
      MenuTitle("&File")
      MenuItem(#Menu_Exit, "E&xit\tAlt-F4")
    EndIf

    If CreatePopupImageMenu(#MenuSub, #PB_Menu_ModernLook)     
      MenuItem(#MenuSub_OpenFile, "Öffnen")   
      MenuItem(#MenuSub_CloseFile, "Schliessen")
      OpenSubMenu("Öffnen mit...")
        MenuItem(#MenuSub_OpenWithPB, "PureBasic")
        MenuItem(#MenuSub_OpenWithPB_Beta, "PureBasic beta",LoadImage(0, "D:\Winapp\PureBasic420beta\Examples\Sources\Data\CDPlayer.ico"))
      CloseSubMenu()       
      MenuItem(#MenuSub_SaveFile, "Speichern")
      MenuItem(#MenuSub_Exit, "Exit")
    EndIf
    
    If CreateStatusBar(#StatusBar, WindowID(#MainWin))
    
    EndIf

    If CreateGadgetList(WindowID(#MainWin))
      ButtonGadget(#Button, 10,10,120,25, "SubMenu")
    EndIf
    
  EndIf

EndProcedure
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Post by mk-soft »

Update v4.08

Update Linux and Window version for PB v4.20
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Post by mk-soft »

Update v4.10

Update for Windows X86, Windows X64 and Linux

New:
- PB v4.30 compatible

Fixed:
- Option: Event CallFunctionFast now for X64 (no tested)

her a small test common file

(common.pb)

Code: Select all

Procedure Open_Main()

; Zeigt die Verwendung mehrerer Panels...
  If OpenWindow(#Main, 0, 0, 322, 220, "PanelGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
    PanelGadget(#Panel_0, 8, 8, 306, 203)
      AddGadgetItem(#Panel_0, -1, "Panel 1")
        PanelGadget(#Panel_1, 5, 5, 290, 166)
          AddGadgetItem(#Panel_1, -1, "Sub-Panel 1")
          AddGadgetItem(#Panel_1, -1, "Sub-Panel 2")
        CloseGadgetList()
      AddGadgetItem(#Panel_0, -1,"Panel 2")
        ButtonGadget(#Button_1, 10, 15, 80, 24,"Button 1")
        ButtonGadget(#Button_2, 95, 15, 80, 24,"Button 2")
    CloseGadgetList()
    
    OpenGadgetList(#Panel_1, -1)
      AddGadgetItem(#Panel_1, -1, "Sub-Panel 3")
    CloseGadgetList()
    
  EndIf

EndProcedure
GT :wink:
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Visual Generate Deluxe 4.x for Window and Linux (Update)

Post by mk-soft »

Update v5.x

Support of PB v5.x and Formdesigner v5.x

GT :wink:
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Visual Generate Deluxe 5.x for Window and Linux (Update)

Post by mk-soft »

Sorry :oops:

Download brocken because dyndns failure

Now it´s ok
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply