Oops I cut and pasted a typo.
x:= x + xx should be x := x + ww;
But that still does not fix the problem.
On Mon, 27 Oct 2008 20:36:55 -0400, <[EMAIL PROTECTED]>
wrote:
> I'm using the following code to copy a portion of one TImage to a second
> TImage
>
> procedure TForm1.Button2Click(Sender: T
I'm using the following code to copy a portion of one TImage to a second
TImage
procedure TForm1.Button2Click(Sender: TObject);
var
i, x, xx, yy, ww, hh, pos : integer;
s : string;
begin
x := 0;
for i := 1 to Length ( Edit1.Text ) do
begin
pos := Ord( Edit1.Text[ i ] );
s := Edi
Bart schrieb:
> Hi,
>
> On my rather old computer I run Suse 10.0 (as my second OS).
> I tried to upgrade my existing Lazarus (0.9.24) to 0.9.26.
> I downloaded the rpm's for fpc, fpc-src and lazarus, then tried:
>
> simenon:/home/bart/downloads # rpm -Uvh fpc-2.2.2-0.i386.rpm
> fpc-src-2.2.2-081
OK will do.
On Tue, 28 Oct 2008 06:42:13 +0700, Paul Ishenin <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>> Secondly, is the ImageList property if your TImageList exists on another
>> form.
>> For example if my MainForm has a TreeView and and empty form has an
> image
>> list that is sha
[EMAIL PROTECTED] wrote:
> Secondly, is the ImageList property if your TImageList exists on another
> form.
> For example if my MainForm has a TreeView and and empty form has an image
> list that is shared across several other units.
> If I don't have the ImageList form open in the IDE, when I m
Christian Budde wrote:
> Hi Martin
>
>> This is probably cross all OS. I am not sure what the intended
>> behaviour is.
>>
>> I guess that it is correct to take the action on Mouse-up, but it may be
>> sensible to limit it on cases where ctrl was hold down during the
>> mouse-down event. IMH
beware! if you're going to use Carbon sendevent (sendmessage), than you
should keep in mind, that it acts different from Windows thread message.
Win sendmessage blocks the sending thread until recieving threads proccess
the messages. Of cause, if thread sends a message to itself (or a window in
th
Hi Martin
> This is probably cross all OS. I am not sure what the intended
> behaviour is.
>
> I guess that it is correct to take the action on Mouse-up, but it may be
> sensible to limit it on cases where ctrl was hold down during the
> mouse-down event. IMHO in that case, you could either say
Hi,
On my rather old computer I run Suse 10.0 (as my second OS).
I tried to upgrade my existing Lazarus (0.9.24) to 0.9.26.
I downloaded the rpm's for fpc, fpc-src and lazarus, then tried:
simenon:/home/bart/downloads # rpm -Uvh fpc-2.2.2-0.i386.rpm
fpc-src-2.2.2-081004.i386.rpm lazarus-0.9.26-0.
Christian Budde wrote:
>>> If I could help out to solve this issue I'd be glad to 'fix' some more
>>> (like the annoying Shift+Click, that triggers slightly wrong and makes
>>> me continuously enter the wrong unit).
>>>
>> Can you give an example what exactly goes wrong with the shift
Within the Carbon IDE, I've noticed certain properties are not being
persisted consistently.
The first is the ItemHeight property of the TListBox. I've had to ammend
the *.lfm file to make sure things work.
Of course as soon as I change anything on the form, via the IDE, that value
is lost and I
Hi Martin
> I don't remember all of it, and it's Windows only (so you must find the
> other OS yourself)
> lcl\interfaces\win32\win32winapi.inc line 180
> The Msg send to Synedit is WM_HScroll or something like this. It is also
> worth checking i f the Msg goes th Synedit or the Scrollbar
>
> Goo
Ah, for some weird reason I thought it needed API calls.
It is now all set via the IDE.
Thanks again for the clarification.
Dominique.
On Mon, 27 Oct 2008 09:24:34 +0100, "EarMaster - Bent Olsen"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Via LCL - by setting ShortCut properties for menus and actio
On Mon, 27 Oct 2008, Luiz Americo Pereira Camara wrote:
> Michael Van Canneyt escreveu:
> > All I need is to display a text at a 90° angle. Since GTK 1 doesn't
> > support rotated text (hint hint), I draw the text on a bitmap, rotate
> > that 90 degrees and display the bitmap, when I detect GTK
Michael Van Canneyt escreveu:
> All I need is to display a text at a 90° angle. Since GTK 1 doesn't
> support rotated text (hint hint), I draw the text on a bitmap, rotate
> that 90 degrees and display the bitmap, when I detect GTK1 as a widget
> set :-)
>
Take a look at the unit i pointed.
On Mon, 27 Oct 2008, Reenen Laurie wrote:
> I had a similar problem... Eventually I moved on to GLscene...
>
> Though obviously it's probably not at all what you want to do, but it's
> pretty easy to rotate things there. :-)
>
> obj.rollangle := obj.rollangle + 90;
>
> You can use an orthogon
I had a similar problem... Eventually I moved on to GLscene...
Though obviously it's probably not at all what you want to do, but it's
pretty easy to rotate things there. :-)
obj.rollangle := obj.rollangle + 90;
You can use an orthogonal camera if you don't want / need the perspective.
You can
On Mon, 27 Oct 2008, Vincent Snijders wrote:
> 2008/10/27 Michael Van Canneyt <[EMAIL PROTECTED]>:
> > Hi,
> >
> > How can I rotate a bitmap 90° counterclockwise ?
> >
> > Alternatively, how can I read/write the pixels in the bitmap ?
> > I found ReadChannels/WriteChannels from RawImage, but the
On Mon, 27 Oct 2008, Graeme Geldenhuys wrote:
> 2008/10/27 Michael Van Canneyt <[EMAIL PROTECTED]>:
> > Hi,
> >
> > How can I rotate a bitmap 90° counterclockwise ?
>
>
> To save you the trouble... :-)
>
> http://www.efg2.com/Lab/ImageProcessing/RotateScanline.htm
> http://www.delphi-central.
Christian Budde wrote:
> Hello,
>
> I just worked a bit with lazarus after some month. It's still quite
> impressive how good it works. On the other hand it's sad that so many
> things do not work yet. Especially in Win32 IMHO it's still easier to
> work in Delphi and only switch to Lazarus when
2008/10/27 Michael Van Canneyt <[EMAIL PROTECTED]>:
> Hi,
>
> How can I rotate a bitmap 90° counterclockwise ?
>
> Alternatively, how can I read/write the pixels in the bitmap ?
> I found ReadChannels/WriteChannels from RawImage, but they
> use a strange kind of position object which I don't unders
2008/10/27 Michael Van Canneyt <[EMAIL PROTECTED]>:
> Hi,
>
> How can I rotate a bitmap 90° counterclockwise ?
>
> Alternatively, how can I read/write the pixels in the bitmap ?
> I found ReadChannels/WriteChannels from RawImage, but they
> use a strange kind of position object which I don't unders
2008/10/27 Michael Van Canneyt <[EMAIL PROTECTED]>:
> Hi,
>
> How can I rotate a bitmap 90° counterclockwise ?
Wouldn't a rotation matrix do the trick? I remember the old fpGUI
code (gfxbase.pas) unit used a 3x3 matrix to do translations and
scalations calculations. I would imagine the same could
2008/10/27 Michael Van Canneyt <[EMAIL PROTECTED]>:
> Hi,
>
> How can I rotate a bitmap 90° counterclockwise ?
To save you the trouble... :-)
http://www.efg2.com/Lab/ImageProcessing/RotateScanline.htm
http://www.delphi-central.com/tutorials/RotateBitmapBitBlt.aspx
http://delphi.about.com/cs/adpt
Hi,
How can I rotate a bitmap 90° counterclockwise ?
Alternatively, how can I read/write the pixels in the bitmap ?
I found ReadChannels/WriteChannels from RawImage, but they
use a strange kind of position object which I don't understand :(
(an alternate answer is to implement rotated fonts in
Hi,
Just a follow up - I've compiled a small test program with a thread and
PostMessage for the client installation, and it's working as it should, so
nothing wrong with posting messages.
Back to testing...
> -Original Message-
> From: EarMaster - Bent Olsen [mailto:[EMAIL PROTECTED]
> S
Hi,
Via LCL - by setting ShortCut properties for menus and actions with ssMeta
in Carbon, or ssCtrl in Win32.
Hope this helps,
Normann
> Hi Normann,
> Can you explain what you mean by dynamically? Do you mean via Carbon
> API
> calls or LCL settings?
>
> Dominique.
>
> On Tue, 21 Oct 2008 09
27 matches
Mail list logo