Board index » delphi » Callouts/ Balloons and Clouds of text
Bill Talbert
![]() Delphi Developer |
Mon, 05 Nov 2001 03:00:00 GMT
|
Bill Talbert
![]() Delphi Developer |
Mon, 05 Nov 2001 03:00:00 GMT
Callouts/ Balloons and Clouds of text
Greetings and Salutations from Houston;
and yes Houston, We have a problem. In Powerpoint, Thanks |
Eddie Shipma
![]() Delphi Developer |
Mon, 05 Nov 2001 03:00:00 GMT
Re:Callouts/ Balloons and Clouds of textWhat do you mean by "spoken text"? I know of a product called HTMLBalloons that does that. You can get it at: http://www.educationx.com/agents/deve/htmlballoons/index.htm From the site: You can dynamically insert HTML and DHTML or scripting into balloons, or you can load Perfect for MSAgent-enabled products, you can combine HTMLBalloons? with existing All development environments supporting ActiveX should work with HTMLBalloons?. QuoteBill Talbert wrote: |
Bill Talber
![]() Delphi Developer |
Mon, 05 Nov 2001 03:00:00 GMT
Re:Callouts/ Balloons and Clouds of textSpoken text is the text in the comics the characters speak. The thought text is the text they think, usually in cloud type containers with little bubbles back to the character thinking. |
Dominique Loui
![]() Delphi Developer |
Tue, 06 Nov 2001 03:00:00 GMT
Re:Callouts/ Balloons and Clouds of textQuoteBill Talbert wrote: property ov TImage doesn't work. If your TImage is the Image of a balloon or thought cloud you should be able to simply go... Image1.Canvas.Brush.Style := bsClear; Image1.Canvas.TextOut( 2, 2, 'Hello'); and it should work( Obviously with some funky algorith to Centre the Text ). I just did this in a simple project and it worked fine. Ciao Dominique Louis |
Bill Talber
![]() Delphi Developer |
Tue, 06 Nov 2001 03:00:00 GMT
Re:Callouts/ Balloons and Clouds of textDominique; Thanks for the help. I am not much on Graphics, this is new to me. I took procedure TForm1.Button4Click(Sender: TObject); My new problem is on the first onClick , Label1 goes blank. Subsequent |
Vizvary Istvan, jr
![]() Delphi Developer |
Tue, 06 Nov 2001 03:00:00 GMT
Re:Callouts/ Balloons and Clouds of textHi, Do you mean something like the window on this page : http://friko3.onet.pl/ld/vizyp/chmurka.htm ? Vizvary Istvan, jr. |
Bill Talber
![]() Delphi Developer |
Tue, 06 Nov 2001 03:00:00 GMT
Re:Callouts/ Balloons and Clouds of textHi; That is close. I do not need the shadows, is that yours? could you share with me how it was done? thanks |
Dominique Loui
![]() Delphi Developer |
Thu, 15 Nov 2001 03:00:00 GMT
Re:Callouts/ Balloons and Clouds of textQuoteBill Talbert wrote: together. It is probably far from the best implementation of a TGraphicControl but it gets the basics done and should get you started. If you improve it please send me a copy of the unit. As this news group does not support attachments you will have to cut and paste the text below and save it into a unit called SpeechBubble. Install and you should be away. unit SpeechBubble; {** A Very basic Speech Bubble component with 2 styles. Created By : Dominique Louis On : 30/05/1999. uses type TSpeechBubble = class(TGraphicControl) procedure Register; implementation procedure Register; { TSpeechButton } procedure TSpeechBubble.CMFontChanged(var Message: TMessage); procedure TSpeechBubble.CMTextChanged(var Message: TMessage); constructor TSpeechBubble.Create(AOwner: TComponent); destructor TSpeechBubble.Destroy; function TSpeechBubble.DrawSpeechBox : TRect; function TSpeechBubble.DrawThinkCloud : TRect; procedure TSpeechBubble.Paint; procedure TSpeechBubble.SetBrush(const Value: TBrush); procedure TSpeechBubble.setBubbleShape(const Value: TBubbleShape); procedure TSpeechBubble.SetPen(const Value: TPen); procedure TSpeechBubble.StyleChanged(Sender: TObject); end. Well, I hope this helps. Ciao, Dominique Louis |