'}{'mem_object'} -> Line(10,$i,250,$i);}
> for (my $i = 10;$i < 280; $i+=24) # Create x-grid
> {$DC{'dc'}{'mem_object'} -> Line($i,10,$i,260);}
>
> $DC{'dc'}{'mem_object'} -> SelectObject($DC{'pen'});
> $DC{'
= 10;$i < 280; $i+=24) # Create x-grid
{$DC{'dc'}{'mem_object'} -> Line($i,10,$i,260);}
$DC{'dc'}{'mem_object'} -> SelectObject($DC{'pen'});
$DC{'dc'}{'mem_object'} -> BeginPath();
$DC{'dc'}{'mem_objec
many plotting
statements for drawing lines, polygons, points, etc
Raphael Stoeckli wrote:
>
> Hi @ all
>
> I try to plot a static DC-Object (means: the graphic is calculated
> uniquely
> at runtime, depending of several parameters, and does not change while
> displaying the
{'dc'}{'object'} -> Validate(); # seems to be no need for this (in
that
> case?)
> }
> -
>
> Flickering is reduced to the times, when an other window moves over the
> DC-window, (or the DC-window is resizing). But in my case
g). But in my case that's not very
annoying. What I'm not getting at the moment is the thing with Validate() of
the DC (seems nothing to do), or if there is a more efficient way to draw
the DC.
Nevertheless I hope, I can help other people with the example above.
Greetings,
Raphael
Hi @ all
I try to plot a static DC-Object (means: the graphic is calculated uniquely
at runtime, depending of several parameters, and does not change while
displaying the window) in a window.
The problem is that this object continuously needs to be redrawn, because it
vanishes during moving the wi
lines (\par\r\n)
return $rtf_prolog . $input[0] . '}'; # Returns the string as RTF
}
So if you want so get the text of the field, use:
$SAVE = &GetText($window,'richedit_field');
And to set it back, use:
$window -> richdit_field -> Text(SetText($SAVE));
Regards,
Raphael
anks to all.
Regards,
Raphael
On Wed 05/11/08 22:49 , "Octavian Rasnita" [EMAIL PROTECTED] sent:
> If I remember well, you need to use
> \par
> in the RTF document for specifying a new line.
>
> Find and read the RTF specifications. It will help you to do more other
> t
Hi @ all
I’m working on an program, that can handle Unicode-text in richedit-fields.
The fields sets and gets the text using some modifications of the
richedit-field. These mods are also from this mailinglist.
The problem is, that Newlines (\r\n) in strings (whether if it’s ASCII or
Unicode) s
9 matches
Mail list logo