[fpc-pascal]sendkeys with gtk binding

2004-03-14 Thread Marc Santhoff
Hi! I'm trying to put some key event in the general message queue of an application. Think of simulating key presses. Some keypresses should be sent to the window and appear in the focussed widget. On windows there is (or at least was years ago) the sendkeys() function. Does the fcl or

Re: [fpc-pascal]sendkeys with gtk binding

2004-03-14 Thread Michael . VanCanneyt
On Sun, 14 Mar 2004, Marc Santhoff wrote: Hi! I'm trying to put some key event in the general message queue of an application. Think of simulating key presses. Some keypresses should be sent to the window and appear in the focussed widget. On windows there is (or at least was years

Re: [fpc-pascal]sendkeys with gtk binding (solved)

2004-03-14 Thread Marc Santhoff
Am So, den 14.03.2004 schrieb Marc Santhoff um 15:03: [...] You're right. In the GDK docs i found gdk_event_put which should do. I did not have such nice access violation errors for a long time. =:-() But it seems to be a lack of documentation. In fact the right function is:

[fpc-pascal]TStringList index

2004-03-14 Thread Taj Morton
Hi all, This code has been driving me nuts for the past week. IDs:=TStringList.Create; for i:=0 to Datab.List_Field.Count-1 do begin Tmp:=TStringList(Datab.List_Field.items[i]); IDs.Strings[i]:=Tmp.Strings[0]; Tmp.Free; end; It crashes with An

Re: [fpc-pascal]TStringList index

2004-03-14 Thread Taj Morton
Hi Vincent, Instead do: IDs.Add(Tmp.Strings[0]); Aha! Thank you! --Taj -- panic: kernel trap (ignored) ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

RE: [fpc-pascal]TStringList index

2004-03-14 Thread Jesus Reyes
- Original Message - From: Taj Morton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 14, 2004 1:04 PM Subject: [fpc-pascal]TStringList index Hi all, This code has been driving me nuts for the past week. IDs:=TStringList.Create; for i:=0 to

[fpc-pascal]Developers needed (interested?)

2004-03-14 Thread James Mills
Hi, We (currently two people, myself a uni student doing Software Engineering and Jeremy a great graphics designer) are planning on developing a multi-player strategy game. Based on some games we've all known to love and hate, but simple enough to have fun! We are at early stages of designing