[BLACKBOX] Editing in a user interface

From: Campbell, Robert (SELEX GALILEO, UK) <robert.d.campbell{([at]})nowhere.xy>
Date: Fri, 6 Aug 2010 09:43:04 +0100

----boundary-LibPST-iamunique-43757590_-_-
Content-type: text/plain

Hi

I have a simple interface behind an Edit Field Control:

TYPE
  Dlg = RECORD
            txt* : ARRAY 32 OF CHAR
          END;

VAR
  dlg* : Dlg;


(Note the non-exported type - simplifies the interface - but I must say
I
am still not sure that such 'secret' exports are an entirely good idea!)


PROCEDURE Do*;
  BEGIN
  END Do;



I want the procedure to add a character (for example greek pi) to txt.

The difficulty is that I want it inserted where the curser is.

Does anyone have any idea how that might be done?


Regards

Robert
  
  


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-43757590_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhpXHBhcg0KXHBhcg0KSSBoYXZlIGEgc2ltcGxl
IGludGVyZmFjZSBiZWhpbmQgYW4gRWRpdCBGaWVsZCBDb250cm9sOlxwYXINClxwYXINClRZUEVc
cGFyDQogIERsZyAgPSAgUkVDT1JEXHBhcg0KICAgICAgICAgICAgdHh0KiA6IEFSUkFZIDMyIE9G
IENIQVJccGFyDQogICAgICAgICAgRU5EO1xwYXINClxwYXINClZBUlxwYXINCiAgZGxnKiAgOiAg
RGxnO1xwYXINClxwYXINClxwYXINCihOb3RlIHRoZSBub24tZXhwb3J0ZWQgdHlwZSAtIHNpbXBs
aWZpZXMgdGhlIGludGVyZmFjZSAtIGJ1dCBJIG11c3Qgc2F5XHBhcg0KSVxwYXINCmFtIHN0aWxs
IG5vdCBzdXJlIHRoYXQgc3VjaCAnc2VjcmV0JyBleHBvcnRzIGFyZSBhbiBlbnRpcmVseSBnb29k
IGlkZWEhKVxwYXINClxwYXINClxwYXINClBST0NFRFVSRSAgRG8qO1xwYXINCiAgQkVHSU5ccGFy
DQogIEVORCAgRG87XHBhcg0KXHBhcg0KXHBhcg0KXHBhcg0KSSB3YW50IHRoZSBwcm9jZWR1cmUg
dG8gYWRkIGEgY2hhcmFjdGVyIChmb3IgZXhhbXBsZSBncmVlayBwaSkgdG8gdHh0LlxwYXINClxw
YXINClRoZSBkaWZmaWN1bHR5IGlzIHRoYXQgSSB3YW50IGl0IGluc2VydGVkIHdoZXJlIHRoZSBj
dXJzZXIgaXMuXHBhcg0KXHBhcg0KRG9lcyBhbnlvbmUgaGF2ZSBhbnkgaWRlYSBob3cgdGhhdCBt
aWdodCBiZSBkb25lP1xwYXINClxwYXINClxwYXINClJlZ2FyZHNccGFyDQpccGFyDQpSb2JlcnRc
cGFyDQogIFxwYXINCiAgXHBhcg0KXHBhcg0KXHBhcg0KLS0tLVxwYXINClRvIHVuc3Vic2NyaWJl
LCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tCT1giIHRvIExJU1RTRVJW
QExJU1RTLk9CRVJPTi5DSFxwYXINCn0
----boundary-LibPST-iamunique-43757590_-_---
Received on Fri Aug 06 2010 - 10:43:04 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:30 UTC