Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-03 Thread Mattias Gaertner
On Sat, 3 Jun 2006 14:04:51 +0200 Burkhard Carstens <[EMAIL PROTECTED]> wrote: > [] > > > >Why is btnOk more clear/readable than OkButton? > > > > > > sure,it doesn't matter on a form with two buttons and one label, > > > but I have some forms containg some dozend control. Now if I want > > > to c

Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-03 Thread Alexandre Leclerc
2006/6/3, Vincent Snijders <[EMAIL PROTECTED]>: Alexandre Leclerc wrote: > It is [control-type/category][control-name] based. I also found that > making automatic stuff is also clean... simple example I did once for > other reasons (I write the code from memory, might not compile): > for i := 0 t

Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-03 Thread Vincent Snijders
Alexandre Leclerc wrote: It is [control-type/category][control-name] based. I also found that making automatic stuff is also clean... simple example I did once for other reasons (I write the code from memory, might not compile): for i := 0 to ControlCount-1 do if Copy(Controls[i].Name, 1, 3) = '

Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-03 Thread Alexandre Leclerc
2006/6/3, Vincent Snijders <[EMAIL PROTECTED]>: Burkhard Carstens wrote: > Am Samstag, 3. Juni 2006 02:29 schrieb Mattias Gaertner: > >>On Fri, 2 Jun 2006 20:21:01 -0400 >> >>"Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: >> >>>2006/6/2, Burkhard Carstens <[EMAIL PROTECTED]>: >>> [..] >>

Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-03 Thread Burkhard Carstens
[] > > >Why is btnOk more clear/readable than OkButton? > > > > sure,it doesn't matter on a form with two buttons and one label, > > but I have some forms containg some dozend control. Now if I want > > to change a property of that one button, who's name i cant remenber > > exactly, but I now it is

Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-02 Thread Vincent Snijders
Burkhard Carstens wrote: Am Samstag, 3. Juni 2006 02:29 schrieb Mattias Gaertner: On Fri, 2 Jun 2006 20:21:01 -0400 "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: 2006/6/2, Burkhard Carstens <[EMAIL PROTECTED]>: [..] CORRECT FMyString: string; INCORRECT lpstrMyString: string; The ex

Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-02 Thread Burkhard Carstens
Am Samstag, 3. Juni 2006 02:29 schrieb Mattias Gaertner: > On Fri, 2 Jun 2006 20:21:01 -0400 > > "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: > > 2006/6/2, Burkhard Carstens <[EMAIL PROTECTED]>: > > > [..] > > > > > > > > CORRECT > > > > > FMyString: string; > > > > > > > > > > INCORRECT > > >

Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-02 Thread Mattias Gaertner
On Fri, 2 Jun 2006 20:21:01 -0400 "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote: > 2006/6/2, Burkhard Carstens <[EMAIL PROTECTED]>: > > [..] > > > > > > > > CORRECT > > > > FMyString: string; > > > > > > > > INCORRECT > > > > lpstrMyString: string; > > > > > > > > The exception to the Hungaria

Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-02 Thread Alexandre Leclerc
2006/6/2, Burkhard Carstens <[EMAIL PROTECTED]>: [..] > > > > CORRECT > > FMyString: string; > > > > INCORRECT > > lpstrMyString: string; > > > > The exception to the Hungarian notation rule is in enumerated > > types. > > If other developers agree, we should add this to the wiki page. If > n

Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-02 Thread Mattias Gaertner
On Fri, 2 Jun 2006 22:16:51 +0200 Burkhard Carstens <[EMAIL PROTECTED]> wrote: > [..] > > > > > > CORRECT > > > FMyString: string; > > > > > > INCORRECT > > > lpstrMyString: string; > > > > > > The exception to the Hungarian notation rule is in enumerated > > > types. > > > > If other develope

Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-02 Thread Burkhard Carstens
[..] > > > > CORRECT > > FMyString: string; > > > > INCORRECT > > lpstrMyString: string; > > > > The exception to the Hungarian notation rule is in enumerated > > types. > > If other developers agree, we should add this to the wiki page. If > not, then deviation from this standard should be men

Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-02 Thread Vincent Snijders
Alexandre Leclerc wrote: 2006/6/1, Vincent Snijders <[EMAIL PROTECTED]>: Why was OKButton renamed to btnOK and CancelButton to btnCancel? Well, if this is not politically correct to rename controls, please inform me so that I make all my efforts to not do it again; it is not my intention to

Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-02 Thread Alexandre Leclerc
2006/6/1, Vincent Snijders <[EMAIL PROTECTED]>: Why was OKButton renamed to btnOK and CancelButton to btnCancel? Well, if this is not politically correct to rename controls, please inform me so that I make all my efforts to not do it again; it is not my intention to frustrate anyone. I did it

Re: [lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-06-01 Thread Vincent Snijders
Alexandre Leclerc wrote: Hi, Here is a patch to correct the focus problem. For a reason I don't know (and can't replicate) I simply removed(ctrl+x)/add(ctrl+v) button ok and cancel so that the radiogroup is first on the list and the default focus on the taborder:=0 (radiogroup) was correct when

[lazarus] Patch: encloseselectiondlg - focus prob. corrected

2006-05-31 Thread Alexandre Leclerc
Hi, Here is a patch to correct the focus problem. For a reason I don't know (and can't replicate) I simply removed(ctrl+x)/add(ctrl+v) button ok and cancel so that the radiogroup is first on the list and the default focus on the taborder:=0 (radiogroup) was correct when the form displayed. So I

Re: [lazarus] patch: encloseselectiondlg

2006-05-12 Thread Vincent Snijders
Alexandre Leclerc wrote: Patch generated in source directory: /lazarus/ide/ Description: Small patch for better keyboard working: - correct tab order - correct default/cancel buttons Thanks. Applied. I added your name to the contributors. Vincent. __

[lazarus] patch: encloseselectiondlg

2006-05-11 Thread Alexandre Leclerc
Patch generated in source directory: /lazarus/ide/ Description: Small patch for better keyboard working: - correct tab order - correct default/cancel buttons -- Alexandre Leclerc enclosesekectiondlg.patch Description: Binary data