2 May 2008 19:31
3 May 2008 04:00
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
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
3 May 2008 12:23
3 May 2008 12:23
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 ?
3 May 2008 12:25
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.
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
RSS Feed