Well because of the Gambas form loader working way.
in the form file for example you have : Font = Arial,12,Bold
the query become : object.font = Font["Arial,12,Bold"]
No choice :-)
2014-02-12 15:37 GMT+01:00 Jussi Lahtinen :
> Why not just simply:
>
> STATIC PUBLIC FUNCTION CreateNew[sValue
Why not just simply:
STATIC PUBLIC FUNCTION CreateNew[sValue as string] as MySelf
hMySelf as new MySelf
return MySelf
END
Jussi
On Wed, Feb 12, 2014 at 12:21 PM, Fabien Bodard wrote:
> Yes but...
>
>
> I want to implement a ReportBoxShadow
>
> for the ide the need is :
>
> MyReportObje
Yes but...
I want to implement a ReportBoxShadow
for the ide the need is :
MyReportObject.BoxShadow = ReportBoxShadow["define"]
If i think for future ... boxshadow is an array
So i need to access each shadow this way :
MyReportObject.BoxShadow[0].XOffset =
For me ... yes there is the same n
Le 11/02/2014 23:44, Fabien Bodard a écrit :
> Why can't we declare two _Get function in a class ?
>
> One in static the other in instance ?
>
>
>
> STATIC PUBLIC FUNCTION _Get[sValue as string] as MySelf
>hMySelf as new MySelf
>
>return MySelf
> END
>
>
> PUBLIC FUNCTION _Get[Index] as _My
Why can't we declare two _Get function in a class ?
One in static the other in instance ?
STATIC PUBLIC FUNCTION _Get[sValue as string] as MySelf
hMySelf as new MySelf
return MySelf
END
PUBLIC FUNCTION _Get[Index] as _MySubClass
return aSubClass[index]
END
Logically i must be possible