Source language: Translate to:

text entry transparent

General questions about NeoBook

Moderator: Neosoft Support

text entry transparent

Postby irong » Wed Jul 02, 2014 6:30 am

Why can't the text entry to achieve truly transparent ?


Image
China neobooker
Registered users
User avatar
irong
 
Posts: 11
Joined: Fri May 18, 2007 8:50 pm
Location: china shanghai

Re: text entry transparent

Postby Neosoft Support » Wed Jul 02, 2014 10:14 am

NeoBook's Text Entry is based on the standard Windows Edit control which does not support transparency.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5605
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: text entry transparent

Postby virger » Wed Jul 02, 2014 10:33 am

Hi there.
Not really trying to do that, but you think of this idea.

Code: Select all
NBW Publication Source File
(C)2014 NeoSoft Corp.
Title=Pseudo "TRANSPARENT-ENTRY"
Author=GdoSan/Jul-2014
Language=US
NeoBookVer=5,80
ScreenColors=16777216
ScreenWidth=800
ScreenHeight=500
BkndColor=0
ScreenAutoSize=Yes
LinkColor=16711680
WindowStyle=0
WindowOrder=0
WindowPos=0
WindowProps=21
BiDiMode=0
UseUpdateTimer=Yes
ReturnTime=60
ShapeTransColor=536870912
SplashProps=3
CompileType=0
MediaType=0
FilesIncluded=1
FontsIncluded=2
CopyExternalFiles=No
SetupMedia=3
SetupInstDir=C:\MyProgram
SetupTitle=Setup
SetupColors=16711680|0|65535
VersionMajor=1
VersionMinor=0
VersionRelease=0
VersionBuild=0
ReqExLevel=1
CustomFontName=Arial
CustomFontSize=9
CustomFontStyle=0
CustomCharset=1
CacheSize=30
ExtractOp=132
L_OK=OK
L_CANCEL=Cancel
L_YES=Yes
L_NO=No
L_CLOSE=Close
L_ERRORTITLE=Error
L_FINDTITLE=Find
L_FINDPROMPT=Find &What
L_FINDFIRST=&Find First
L_FINDNEXT=Find &Next
L_FINDERROR=Search text not found.
L_PWORDTITLE=Password required
L_PWORDMSG=Before continuing, you must first|enter the correct password.
L_PWORDPROMPT=&Password:
L_PWORDERROR=That's not the right password!
L_MEDIAERROR=In order to play this type of file you must install|the appropriate multimedia hardware and/or|software.
L_INTERNETERROR=Unable to locate Internet Browser software.
L_ABORTFUNCTION=Do you want to cancel this function?
L_EXTRACTERROR=This file could not be extracted and cannot be played.
L_INSTDIRPROMPT=Please enter the drive and directory where you would like this program to be installed. To accept the default drive and directory, simply press Enter.
L_INSTFOLDERPROMPT=Do you wish to create a program folder?
L_INSTRUNPROMPT=Do you want to run
L_INSTDISKPROMPT=Please insert disk #
L_INSTDISKERROR=That's not the correct disk, try again.
L_INSTGENERROR=The installation has terminated.
L_INSTEXITPROMPT=Do you really want to cancel the installation?
L_INSTWINTITLE=Setup
L_INSTPROGTITLE=Extracting Files...
L_SENDEMAIL=Sending Mail...
L_MAILSERVER=Please enter the name of your outgoing email server:
L_COPY=Copy to Clipboard
L_SELECTALL=Select All
L_DONWLOADFILE=Downloading: %s
L_PLEASEWAIT=Please wait...
TrayMenuBegin
MenuName=TrayOpen
MenuText=Open
MenuState=3
MenuKey=0
MenuAction=SetVar "[WindowState]" "Normal"
MenuName=TrayExit
MenuText=Exit
MenuState=3
MenuKey=0
MenuAction=Exit "" ""
MenuEnd
MasterPage
NewPage=New Page
PageStyle=0
PageColor=16777215
PageGradient1=16711680
PageGradient2=255
PageGradientDir=1
WallpaperStyle=0
EffectSpeed=0
PgEnterAction=.. FileName Image in "Pic"¶setvar "[FileImage]" "YourImage.Ext"¶¶.. Take 'html' from TextEntry "HTML"¶.. The 'textarea' has a BackGround-Image, change or delete¶¶FileWrite "[PubDir]empty.html" "All" "[Html]"¶delay "25"¶¶timerstart "Tm" "100"
ObjectType=5
Name=Rectangle4
X=396
Y=7
W=390
H=33
Anchor=0
LineColor=0
LineWidth=0
LineStyle=2
FillColor=65280
FillPattern=0
TabOrder=9
ObjectType=8
Name=Info
X=85
Y=350
W=333
H=133
Anchor=0
Font=Arial
FontSize=11
FontStyle=3
FontCharset=1
TextColor=0
Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset1 Arial;}}{\colortbl\red0\green0\blue0;\red255\green0\blue0;\red0\green128\blue0;\red0\green0\blue255;\red255\green255\blue0;\red255\green0\blue255;\red128\green0\blue128;\red128\green0\blue0;\red0\green255\blue0;\red0\green255\blue255;\red0\green128\blue128;\red0\green0\blue128;\red255\green255\blue255;\red192\green192\blue192;\red128\green128\blue128;\red0\green0\blue0;\red0\green0\blue0;}\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\margh720\margf720{\*\pnseclvl1\pnucrm\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}¶{\*\pnseclvl2\pnucltr\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}¶{\*\pnseclvl3\pndec\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}¶{\*\pnseclvl4\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{)}}}¶{\*\pnseclvl5\pndec\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl6\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl7\pnlcrm\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl8\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl9\pndec\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶\endnhere\sectdefaultcl{\pard{\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs24\cf0\b\ul\i <--- In TextEntry\par¶\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs22\cf0\b \tab Change the line:\par¶\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs22\cf0\b \tab \tab background-image:url(Carritos.png);\par¶\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs22\cf0\b \tab \tab for\par¶\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs22\cf0\b \tab \tab \tab background-image:url(\plain\f0\fs22\cf0\b\ul\i YourImage.Ext\plain\f0\fs22\cf0\b )\plain\f0\fs22\cf0\b\i ;\par¶\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs22\cf0\b\i \par¶\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs22\cf0\b\i \tab \tab Or delete if not}}¶}
HMargin=0
VMargin=0
LineColor=0
LineWidth=0
LineStyle=0
FillColor=-16777201
FillPattern=1
TabOrder=7
ObjectType=4
Name=Pic
X=481
Y=100
W=196
H=202
Anchor=0
FileName=[FileImage]
PictStyle=2
PictTransColor=50331647
Centered=Yes
Resample=Yes
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16711935
FillPattern=1
TabOrder=5
ObjectType=14
Name=Web
X=4
Y=3
W=390
H=338
Anchor=0
FileName=[PubDir]empty.html
VarName=[WebStatus]
TitleVarName=[WebTitle]
URLVarName=[WebAddr]
ScrollBar=Yes
LineColor=0
LineWidth=2
LineStyle=0
FillColor=26848
FillPattern=1
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=3
ObjectType=8
Name=TextToView
X=396
Y=3
W=390
H=336
Anchor=0
Font=Arial
FontSize=11
FontStyle=3
FontCharset=1
TextColor=0
Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset1 Arial;}}{\colortbl\red0\green0\blue0;\red255\green0\blue0;\red0\green128\blue0;\red0\green0\blue255;\red255\green255\blue0;\red255\green0\blue255;\red128\green0\blue128;\red128\green0\blue0;\red0\green255\blue0;\red0\green255\blue255;\red0\green128\blue128;\red0\green0\blue128;\red255\green255\blue255;\red192\green192\blue192;\red128\green128\blue128;\red0\green0\blue0;\red0\green0\blue0;}\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\margh720\margf720{\*\pnseclvl1\pnucrm\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}¶{\*\pnseclvl2\pnucltr\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}¶{\*\pnseclvl3\pndec\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}¶{\*\pnseclvl4\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{)}}}¶{\*\pnseclvl5\pndec\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl6\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl7\pnlcrm\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl8\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl9\pndec\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶\endnhere\sectdefaultcl{\pard{\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs22\cf0\b\i [tx]}}¶}
HMargin=10
VMargin=10
LineColor=0
LineWidth=3
LineStyle=0
FillColor=14211320
FillPattern=1
TabOrder=2
ObjectType=15
Name=Tm
X=9
Y=349
W=32
H=32
Anchor=0
AutoStart=No
Interval=100
ObjAction=..The name of TextArea in HTML¶..          <textarea name="text"¶¶BrowserGetElement "Web" "text" "[Tx]"
ObjectType=9
Name=Html
X=42
Y=349
W=32
H=32
Anchor=0
Text=<!DOCTYPE html>¶<html lang="en">¶<head>¶<meta charset="utf-8">¶<style>¶textarea {¶  background-color: #fff;¶  background-image:url(Carritos.png);¶  width:350px;¶  height:300px;¶  font-weight:bold;¶  color: #000000;¶  font-size: 1.4em;¶  opacity: .70;¶  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);}¶</style></head>¶<body>¶¶<textarea name="text" >Write here</textarea>¶¶</body>¶</html>
VarName=[Html]
Align=1
EditMultiLine=Yes
ScrollBar=No
EditLen=0
ObjEnterAction=moveobject "Html" "3" "3"¶sizeobject "Html" "470" "400"
ObjExitAction=moveobject "Html" "42" "349"¶sizeobject "Html" "32" "32"
LineColor=0
LineWidth=1
LineStyle=2
FillColor=14743776
FillPattern=0
FillMode=Yes
Font=Arial
FontSize=11
FontStyle=3
FontCharset=1
TextColor=0
TabOrder=6
ObjectType=3
Name=BtExit
X=695
Y=428
W=63
H=31
Anchor=0
Text=Exit
Align=2
ImageStyle=0
ObjAction=exit "" ""
LineColor=0
LineWidth=1
LineStyle=2
FillColor=13882323
FillPattern=0
Font=Arial
FontSize=11
FontStyle=3
FontCharset=1
TextColor=0
TabOrder=8


FROM COSTA RICA
NEXT HOLLAND
COSTA RICA
PURA VIDA
User avatar
virger
 
Posts: 524
Joined: Mon Sep 18, 2006 12:21 pm
Location: Costa Rica, America Central

Re: text entry transparent

Postby irong » Wed Jul 02, 2014 6:15 pm

Thanks a lot!
I put the neobook as a development tool to use. so looking forward to support transparent 。
China neobooker
Registered users
User avatar
irong
 
Posts: 11
Joined: Fri May 18, 2007 8:50 pm
Location: china shanghai


Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 1 guest