PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WB18: How do use Retrieving & Assigning  of properties in Classes
WB18: How do use Retrieving & Assigning of properties in Classes
Iniciado por guest, 17,ene. 2015 16:10 - No hay respuesta
Publicado el 17,enero 2015 - 16:10
In my inventory file I have the Quantity - PriceBreaks stored as a string. Then in the class I have properties (Qty1 - Pricebreak1, Qty2 - Pricebreak2, etc ...) which I want to parse the string to and display on the screen

(So I figured this is where to use a property).

I parse the pricing field (member) in the retrieving section of the property

... and last I call the class method GetRecByID ...

?? Shouldn't the property retrieving code get triggered by this process? ... or do I need to execute a method inside the GetrecByID method?? Help Please!

<a class="ExternalLink" rel="nofollow" target="_blank" href="http://screencast.com/t/ZsPkJKzfN">http://screencast.com/t/ZsPkJKzfN</a>

Is there an example or help screen that explains of how to use classes, methods and properties. Specifically how to use the retrieving and assigning of properties?