Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #3725 > unrolled thread
| Started by | Stefan Überbacher <info@sanosoft.com> |
|---|---|
| First post | 2012-07-10 00:39 -0700 |
| Last post | 2012-07-16 01:59 -0700 |
| Articles | 5 — 4 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Drawing in dispatch Stefan Überbacher <info@sanosoft.com> - 2012-07-10 00:39 -0700
Re: Drawing in dispatch "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2012-07-10 13:39 +0200
Re: Drawing in dispatch "VO User Group usa" <Support@arrisa.com> - 2012-07-10 14:07 +0200
Re: Drawing in dispatch "Harry B." <bongoplayer@gmail.com> - 2012-07-10 18:59 +0200
Re: Drawing in dispatch Stefan Überbacher <info@sanosoft.com> - 2012-07-16 01:59 -0700
| From | Stefan Überbacher <info@sanosoft.com> |
|---|---|
| Date | 2012-07-10 00:39 -0700 |
| Subject | Drawing in dispatch |
| Message-ID | <f39679e9-9d09-4215-bbe0-3944b6613a2a@googlegroups.com> |
Hi, I do some drawing in the dispatch-method of a custom control, but the drawing is not shown. When I show a messagebox after the drawing, so that the execution of the program is stopped, then the drawing becomes visible. Can someone give me a tip?
[toc] | [next] | [standalone]
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Date | 2012-07-10 13:39 +0200 |
| Message-ID | <a62ij7Flq3U1@mid.individual.net> |
| In reply to | #3725 |
Hi Stefan, Why in the method dispatch and not in oCusCtrl:Expose(..) ? Go to the HP of the VOUG-Bodensee, there you can find some downloads with samples of Custon Controls: Etiketten Control Laufband Mathespiele Or, contact me directly, I'll try to find a solution. Regards Urs "Stefan Überbacher" <info@sanosoft.com> schrieb im Newsbeitrag news:f39679e9-9d09-4215-bbe0-3944b6613a2a@googlegroups.com... > Hi, > > I do some drawing in the dispatch-method of a custom control, but the > drawing is not shown. When I show a messagebox after the drawing, so that > the execution of the program is stopped, then the drawing becomes visible. > Can someone give me a tip?
[toc] | [prev] | [next] | [standalone]
| From | "VO User Group usa" <Support@arrisa.com> |
|---|---|
| Date | 2012-07-10 14:07 +0200 |
| Message-ID | <jth5tr$8bk$1@news.albasani.net> |
| In reply to | #3725 |
Hi Stefan,
You must repaint your drawing allways after you use a other Control or
massage box
the best is use the EXPOSE Method
excample:
METHOD Expose( oExposeEvent ) CLASS Reservierung
SUPER:Expose( oExposeEvent )
IF oExposeEvent:Window != SELF
**** repaint your drrawing ********
ENDIF
RETURN NIL
Regards
reinhard
"Stefan Überbacher" <info@sanosoft.com> schrieb im Newsbeitrag
news:f39679e9-9d09-4215-bbe0-3944b6613a2a@googlegroups.com...
> Hi,
>
> I do some drawing in the dispatch-method of a custom control, but the
> drawing is not shown. When I show a messagebox after the drawing, so that
> the execution of the program is stopped, then the drawing becomes visible.
> Can someone give me a tip?
[toc] | [prev] | [next] | [standalone]
| From | "Harry B." <bongoplayer@gmail.com> |
|---|---|
| Date | 2012-07-10 18:59 +0200 |
| Message-ID | <jthn1p$5v6$1@news01.versatel.de> |
| In reply to | #3727 |
Reinhard, I'm using Expose(), too. But I don't use the SUPER:... and IF... parts you mentioned. When using that in my code the drawing did not apeare! Any ideas? Regards, Harry B. Am 10.07.2012 14:07, schrieb VO User Group usa: > excample: > > METHOD Expose( oExposeEvent ) CLASS Reservierung > SUPER:Expose( oExposeEvent ) > IF oExposeEvent:Window != SELF > **** repaint your drrawing ******** > ENDIF > RETURN NIL >
[toc] | [prev] | [next] | [standalone]
| From | Stefan Überbacher <info@sanosoft.com> |
|---|---|
| Date | 2012-07-16 01:59 -0700 |
| Message-ID | <af39e745-376f-41db-b77b-cb9cd434d7d7@fr28g2000vbb.googlegroups.com> |
| In reply to | #3725 |
ok, with a repaint() it works. Thank you all for the tip. Stefan
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web