Hi,
I have the following code(called from webbutton click) to show a pascal scripter text using TMemo and works ok, but when I change TMemo to TTMSFNCMemo, first click works ok, second click or more the TTMSFNCMemo control is not visible.
Any hint? Thanks in advance,
Omar Zelaya
lfrmEditor := TfrmEditor.Create(self);
lfrmEditor.Popup := true;
lfrmEditor.Border := fbDialog;
window.location.hash := 'subform';
await(TfrmEditor, lfrmEditor.Load());
lfrmEditor.LoadText(AText); /// all it does is WebMemo1.Text := AText;
try
await(TModalResult, lfrmEditor.Execute);
finally
lfrmEditor.Free;
end;
Hi, I 'm having a situation with the GetCodeCompletion event.
I want to add methods and properties from my defined clasess in scripter.When the user input the "." the event GetCodeCompletion doesnt get called.
For exmaple in the editor I want to enter "MyClass." when the dot is entered I want add the class properties and methods to the custom completion list, but i'm not able because the event is not called when the "." is typed.
I'm not asking that the editor add methods and properties(I will do this my self on the GetCodeCompletion event), the problem right now is that when the user enters the ".", the event is not called with token "MyClass."
The feature is more complex than just enabling a dot '.' to trigger autocompletion. It should not trigger when there is no keyword in front, so we are investigating.