hello
first sorry for my bad English i´m from the german forum.
I would like set a pic (smili) in a EditorGadget but i find no way to do this.
Can someone help me here?
THX Nico
			
			
									
									Editorgadget and pics?
this is all I can find on the subject
which seems to indicate it can't be done:
viewtopic.php?t=7090&start=0&postdays=0 ... itorgadget
but I know there are examples in the CodeArchive that have
an image that appears to be overlayed on a window..
..maybe that approach would work.
did you see this example in the CodeArchive? PictureViewerJPEG+.pb
Joe
			
			
									
									which seems to indicate it can't be done:
viewtopic.php?t=7090&start=0&postdays=0 ... itorgadget
but I know there are examples in the CodeArchive that have
an image that appears to be overlayed on a window..
..maybe that approach would work.
did you see this example in the CodeArchive? PictureViewerJPEG+.pb
Joe
peace  
[pI 166Mhz 32Mb w95]
[pII 350Mhz 256Mb atir3RagePro WinDoze '98 FE & 2k]
[Athlon 1.3Ghz 160Mb XPHome & RedHat9]
						[pI 166Mhz 32Mb w95]
[pII 350Mhz 256Mb atir3RagePro WinDoze '98 FE & 2k]
[Athlon 1.3Ghz 160Mb XPHome & RedHat9]
Re: Editorgadget and pics?
> I would like set a pic (smili) in a EditorGadget
This is NOT what you want, but I couldn't resist 
 
			
			
									
									
						This is NOT what you want, but I couldn't resist
 
 Code: Select all
If OpenWindow(1,300,250,400,200,#PB_Window_SystemMenu,"Window")
  CreateGadgetList(WindowID())
  smiley=LoadFont(1,"WingDings",90)
  EditorGadget(1,10,10,300,150)
  SetGadgetFont(1,smiley)
  SetGadgetText(1,"J")
  Repeat : Until WaitWindowEvent()=#PB_EventCloseWindow
EndIf
@PB 
very nice that is wat i will but have you a list for smilis-code?
THX for all helps
			
			
									
									very nice that is wat i will but have you a list for smilis-code?
THX for all helps
my live space
						> I don't think you can mix fonts with the EditorGadget 
though
Just use the set of functions here:
viewtopic.php?p=28616#28616
And then you can do it like this:
Timo
			
			
									
									though
Just use the set of functions here:
viewtopic.php?p=28616#28616
And then you can do it like this:
Code: Select all
If OpenWindow(1,300,250,400,200,#PB_Window_SystemMenu,"Window") 
  CreateGadgetList(WindowID()) 
  EditorGadget(1,10,10,300,150) 
  SetGadgetText(1, "Here comes a nice J Smiley.")
  Editor_Select(1, 0, 19, 0, 20)
  Editor_Font(1, "WingDings")
  Editor_FontSize(1, 20)    
  Editor_Color(1, $0000FF)
  
  Repeat : Until WaitWindowEvent()=#PB_EventCloseWindow 
EndIf quidquid Latine dictum sit altum videtur
						> > I don't think you can mix fonts with the EditorGadget though
>
> Just use the set of functions here:
> viewtopic.php?p=28616
Cool, thanks for that!
			
			
									
									
						>
> Just use the set of functions here:
> viewtopic.php?p=28616
Cool, thanks for that!




