Page 1 of 1

[Done] Named Constants also for Fonts?

Posted: Sat Sep 07, 2013 12:46 pm
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

Re: Named Constants also for Fonts?

Posted: Sat Sep 07, 2013 2:56 pm
by Polo
Added.

Re: [Done] Named Constants also for Fonts?

Posted: Wed Dec 04, 2013 2:26 am
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