[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dynamic Classe access
[Thread Prev] | [Thread Next]
- Subject: Dynamic Classe access
- From: Fabien Bodard <gambas.fr@xxxxxxxxx>
- Date: Thu, 4 Sep 2025 12:08:10 +0200
- To: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
Can we access a Class Public Static Variable Dynamically ? Ex : In FMyForm > Static Public Value as string In my calling Function dim sMyForm as string = "FMyForm" Dim f as form Class.Load(sMyForm) f = Class[sMyForm].CreateInstance() f.Value = "MyValue" '.... < here I have an error even if I try to change Value to a non static property f.ShowModal -- Fabien Bodard
Re: Dynamic Classe access | Fabien Bodard <gambas.fr@xxxxxxxxx> |