wahono | 2 May 2008 19:31
Favicon
Gravatar

Move cursor to next widget

when I press enter key, the value is entered in t*edit, but the cursor
doesn't move to next widget. Is any property (without code) to set when
we press enter key and the value is valid than cursor is moved to next
widget?

wahono

James K Smith | 3 May 2008 04:00

down time

My business cable service went to "managed" as opposed to old-style
unmananged modems without my knowledge. Everything had to be configured.
Sorry for the holdup.

James

Martin Schreiber | 3 May 2008 07:40

Re: Another wish list

Joao Morais wrote:

> Martin Schreiber wrote:
>> Ctrl+Home jumps to the topleft cell in a grid or the first character in
>> ttextedit if there is a single focusable column in the grid.
>> Ctrl+End jumps to the bottomright cell in a grid or the last character in
>> ttextedit if there is a single focusable column in the grid.
>> Ctrl+PgUp and Ctrl+PgDown don't change the column.
> 
> I was talking about the ide editor.
> 
> Now I see that Ctrl+PgUp doesn't behave like Ctrl+Home, but imho afaics
> this behavior is a bit useless in a text editor.
> 
Trunk 2239 has tcustomgrid.optionsgrid og_visiblerowpagestep, activated in
source editor.

Martin

Martin Schreiber | 3 May 2008 09:09

Re: About message box

wahono wrote:

> In another gui library, shortcut caption in message box buttons can
> access with/without ALT+underlined char, if there any button '&Yes' and
> '&No', we just press 'y' or 'n' and the buttons will execute. But
> message box in MSEgui requires ALT.
> 
Trunk 2240 has tbutton.options.bo_altshortcut, default false -> hotkeys work
without Alt-key.

Martin

IvankoB | 3 May 2008 12:23
Picon
Favicon

Wish: timed variant of "showmessage"

which:

- autocloses after a supplied delay time & returns that result code set 
as default
- draws remaining time on the button associated with the default result

( possibly, means threading thus difficult to implement as a dialogue 
for beginners )

IvankoB | 3 May 2008 12:23
Picon
Favicon

FreePascal.Ru: a way to determine printer aspect ratio

For non-square dot-matrices, Delphi/Lazarus:
===========

i := Image1.Canvas.TextWidth('sample');
i1 := Image1.Canvas.TextHeight('sample');

j := Printer.Canvas.TextWidth('sample');
j2 := Printer.Canvas.TextHeight('sample');

kofX := j / i;
kofY := j2 / i1;

=====
Is it relevant ?

IvankoB | 3 May 2008 12:25
Picon
Favicon

Re: FreePascal.Ru: a way to determine printer aspect ratio

Relates to the issue with size distortion on win32 GDI printer.

Martin Schreiber | 3 May 2008 13:52

Re: Wish: timed variant of "showmessage"

IvankoB wrote:

> which:
> 
> - autocloses after a supplied delay time & returns that result code set
> as default
> - draws remaining time on the button associated with the default result
> 
> ( possibly, means threading thus difficult to implement as a dialogue
> for beginners )

Tip: Use a ttimer with an appropriate tick time, count the ticks and set
tmseform.window.modalresult after the wanted tick count.

Martin Schreiber | 3 May 2008 14:07

Re: FreePascal.Ru: a way to determine printer aspect ratio

IvankoB wrote:

> For non-square dot-matrices, Delphi/Lazarus:
> ===========
> 
> i := Image1.Canvas.TextWidth('sample');
> i1 := Image1.Canvas.TextHeight('sample');
> 
> j := Printer.Canvas.TextWidth('sample');
> j2 := Printer.Canvas.TextHeight('sample');
> 
> kofX := j / i;
> kofY := j2 / i1;
> 
> =====
> Is it relevant ?

That would apply for tgdiprinter only? I have no printer with different DPI
in X and Y direction, I can't test. I disbelieve that Microsoft provides
sufficient documentation, you must try the win32 API your self
(GetDeviceCaps?). For example I didn't find any documentation how to setup
win32 taskbar window buttons correctly, I found the solution by accident...

Martin

haword | 4 May 2008 08:06
Picon

Re: The IDE: ize distrortions after running the app

sorry offtop only for IvankoB
ðÒÉ×ÅÔ! ôÙ ËÁÖÅÔÓÑ ÂÙÌ ÑÒÙÍ ÐÒÏÔÉ×ÎÉËÏÍ ÐÉÒÁÔÓÔ×Á, Á
ÎÁ ËÏÍÐÅ ÓÔÏÌØËÏ ÐÒÏÇ 
ÛÁÒÏ×ÁÒÎÙÈ,
ÎÅÕÖÅÌÉ ×ÓÅ ÚÁÒÅÇÉÓÔÒÉÒÏ×ÁÎÙ (ÎÅ ÎÁÅÚÄÁ ÒÁÄÉ Á
ÐÒÏÓÔÏ ÉÎÔÅÒÅÓÎÏ) ? :-) ;-) 


Gmane