🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.activex
1 messages
1 total messages Started by AJULLIARD Wed, 30 Aug 2000 00:00
Property of ActiveForm
#3
Author: AJULLIARD
Date: Wed, 30 Aug 2000 00:00
42 lines
2155 bytes
[This followup was posted to borland.public.delphi.database.desktop and a 
copy was sent to the cited author.]
Base : (D5 Pro) 1 ActiveForm with 1 Edit control.
(Interfaceparent : IDispatch)
I want give an Read/Write access for activeform's users and for that have 
added 1 property as following :

...
function TAFX3.Get_Edit_001: WideString;
begin
 result := Edit1.Text;
end;

procedure TAFX3.Set_Edit_001(const Value: WideString);
begin
 Edit1.Text := Value;
end;
....

Indicators of this property are : 
bindable, requestedit and immediatebindable.

In the app'container, i use a variable (ValEdit1) connected to the 
property Edit_001. 

First, What'Ok : 
a) the variable ValEdit1 receive the value of Edit_001 property when the 
ActiveForm is loadded,
b) then I can write with the variable ValEdit1 in the property,
c) and i can read the property's value with the instruction like
  ValEdit = #ActiveForm.Edit_001

and what's wrong : 
after loading, when i operate a change of value of the Edit_001 property, 
the new value is'nt automaticaly writen to the Appcontainer's variable.
And i'm sure that property'value is updated since i can read i with
the above c) instruction.

I've tried many changes but nothing .
So i ask around : what do i miss ?
Thanks by advance.
A.Julliard at : ajulliar@easynet.fr
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads