[Done] Named Constants also for Fonts?

You need some new stunning features ? Tell us here.
User avatar
Kiffi
Addict
Addict
Posts: 1357
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

[Done] Named Constants also for Fonts?

Post by Kiffi »

Hello,

the Visual Designer now supports named constants for Windows, Gadgets and Images. Thanks for that!

But what's with named constants - support for Fonts?

Code: Select all

Enumeration FormWindow
  #Window_0
EndEnumeration

Enumeration FormGadget
  #Button_0
EndEnumeration

Enumeration FormImage
  #Img_Window_0_0
EndEnumeration

Enumeration #PB_Compiler_EnumerationValue ; <- Uh!
  #Font_Window_0_0
EndEnumeration

[...]
Thanks in advance & Greetings ... Kiffi
Hygge
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Named Constants also for Fonts?

Post by Polo »

Added.
Jagermeister
Enthusiast
Enthusiast
Posts: 136
Joined: Thu Nov 15, 2012 11:38 pm
Location: Los Angeles

Re: [Done] Named Constants also for Fonts?

Post by Jagermeister »

Hey sorry to reopen a [Done] thread, but can we have an option for vertical listing of Global variables so they stack up Enumeration style?

This passes in the IDE. A variable has to follow Global and all subsequent must have a comma except the last:

Code: Select all

Global CheckBoxGadget_1,
CheckBoxGadget_2,
CheckBoxGadget_3,
CheckBoxGadget_4
The PB community is too awesome! Woo!
-Jag
Post Reply