Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #7251

Re: graphic file in the shellwindow

From FrancescoF <francescangeli.f@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: graphic file in the shellwindow
Date 2014-10-01 23:07 +0200
Organization albasani.net
Message-ID <m0hqed$fb2$1@news.albasani.net> (permalink)
References <f82997cd-a067-4d8f-8399-1f7fb620ccb0@googlegroups.com>

Show all headers | View raw


Hi Gunter,
may be ACF_Shellwindow helps you?

----------------------------------------------------------------------------
Example:	
method Start() class App

	oShell := ACF_ShellWindow{ SELF }

	// Gradient fill
	oShell:ColorIni := Color{ 0, 255, 255 }		// Gradient colors
	oShell:ColorEnd := Color{ 0, 0, 0 }

	// Bitmap
	oShell:Bitmap := oBitmap						// <oBitmap> is a bitmap object
	oShell:Bitmap := "C:\CAVOAPP\SRC\IMG\Logo.bmp"	// As a string 
representing filename

	oShell:BitmapStyle := WITH_CENTERED_BITMAP | WITH_TEXTURED_BITMAP | 
WITH_POSITIONED_BITMAP
	oShell:BitmapOrigin := Point{ x, y }		// Implies WITH_POSITIONED_BITMAP 
- canvas coordinates
	oShell:BitmapToLowerLeft := TRUE			// Implies WITH_POSITIONED_BITMAP 
and Point{ 0, 0 }

	// Texts
	oShell:Title := "Application Title"			// Standard centered auto-size text
												// can be multi-line
	oShell:TitleTextColor := Color{ 0, 0, 0 }	// Main title color
	oShell:TitleShawdowColor := Colro{ 100,100,100 }	// Main title shadow color
	oShell:Copyright1 := "Copy text"			// Text on lower left corner
	oShell:Copyright2 := "Copy text"			// Text on lower right corner
	oShell:CopyTextColor := Color{ 0,0,0 }		// Copyright texts color


	oShell:Show()

	SELF:Exec()
----------------------------------------------------------------------------
It works very well for me...

HTH,
Francesco



Il 30/09/2014 11:09, Gunter ha scritto:
> Hello,
> I need to show a graphic (bmp- or. jpg-file stored in an ini-file) in the shell window.
> How can I do that?
>
> Thanks for help
>

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

graphic file in the shellwindow Gunter <g.huebner@dsh-anklam.de> - 2014-09-30 02:09 -0700
  Re: graphic file in the shellwindow "Willie Moore" <williem@wmconsulting.com> - 2014-09-30 15:16 -0500
  Re: graphic file in the shellwindow "Jozo" <racunalo@os.t-com.hr> - 2014-10-01 10:31 +0200
  Re: graphic file in the shellwindow FrancescoF <francescangeli.f@gmail.com> - 2014-10-01 23:07 +0200
    Re: graphic file in the shellwindow "Fred Killet" <info@killetsoft.de> - 2014-10-03 10:05 +0200
  Re: graphic file in the shellwindow Gunter <g.huebner@dsh-anklam.de> - 2014-10-06 03:21 -0700
    Re: graphic file in the shellwindow charnp@dotnetthailand.com - 2014-11-15 19:44 -0800

csiph-web