[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Const _Properties


On Tue, 18 Feb 2025 at 11:50, Philippe Valarcher <philippe.valarcher@xxxxxxx>
wrote:

> Le mardi 18 février 2025 à 11:37 +0000, Bruce Steers a écrit :
>
> Read here...
> https://gambaswiki.org/wiki/dev/gambas
>
> examine gambas source code , gb.gui.base is a good place to see examples.
>
> https://gitlab.com/gambas/gambas/-/tree/master/comp/src/gb.gui.base?ref_type=heads
>
> On Tue, 18 Feb 2025 at 09:36, Philippe Valarcher <
> philippe.valarcher@xxxxxxx> wrote:
>
> Bonjour,
> Where can I find information about this:
> Public Const _Properties As String = "*,Value,Format, TextReg "
> and how do you pass Strings into this expression for Format and TextReg
>
> Thank you all.
>
>
> Thank you Bruce,
> I found your first link on my own but I didn't search it there because I
> never did a component and didn't think I will found it there.
>
> --
>
> Philippe Valarcher <philippe.valarcher@xxxxxxx>
>

Yes it's there https://gambaswiki.org/wiki/dev/gambas#t5  :)

Your string values should work/show automatically from their Property
definition.

Eg..
Public Const _Properties As String = "*,Value, Format, TextReg "

Property Format As String Use $sFormat
Property TextReg As String Use $sTextReg


Then they should show in the IDE :)
Good luck :)
BruceS

Follow-Ups:
Re: Const _PropertiesPhilippe Valarcher <philippe.valarcher@xxxxxxx>
References:
Const _PropertiesPhilippe Valarcher <philippe.valarcher@xxxxxxx>
Re: Const _PropertiesBruce Steers <bsteers4@xxxxxxxxx>
Re: Const _PropertiesPhilippe Valarcher <philippe.valarcher@xxxxxxx>