Source language: Translate to:

Buscar en un ListBOX

General questions about NeoBook

Moderator: Neosoft Support

Buscar en un ListBOX

Postby neobookruletin » Wed Dec 17, 2014 5:46 pm

ESPAÑOL:
Como puedo buscar en un listbox, lo que deseo buscar se guarda en la variable de un texto de entrada.

INGLES:
As I can search a listbox, what I want to find is stored in the variable text input.
neobookruletin
 
Posts: 31
Joined: Tue Nov 25, 2014 9:17 am

Re: Buscar en un ListBOX

Postby AsleyCruz » Wed Dec 17, 2014 8:08 pm

neobookruletin wrote:ESPAÑOL:
Como puedo buscar en un listbox, lo que deseo buscar se guarda en la variable de un texto de entrada.

INGLES:
As I can search a listbox, what I want to find is stored in the variable text input.


Hola_
Usa la siguiente acción:

Code: Select all
ListBoxFindItem "NombreDelObjeto" "[TextoABuscar]" "[VariableResultado]"


Espero te ayude_
AsleyCruz
Freelancer - Graphic & Type Designer

FREE NEOBOOK APPS: See Website

.
User avatar
AsleyCruz
 
Posts: 106
Joined: Fri Sep 16, 2011 2:12 pm

Re: Buscar en un ListBOX

Postby neobookruletin » Thu Dec 18, 2014 9:29 am

EL OBJETO ES "LISTA3" , EL TEXTO A BUSCAR ES "[value]" QUE ES LA VARIABLE DEL BOTON DE INGRESAR TEXTO Y LA VARIABLE DEL RESULTADO ES "[Lista3]", NO BUSCA NADA. NO FUNCIONA.

ListBoxFindItem "Lista3" "[value]" "[Lista3]"
neobookruletin
 
Posts: 31
Joined: Tue Nov 25, 2014 9:17 am

Re: Buscar en un ListBOX

Postby AsleyCruz » Thu Dec 18, 2014 11:11 am

neobookruletin wrote:EL OBJETO ES "LISTA3" , EL TEXTO A BUSCAR ES "[value]" QUE ES LA VARIABLE DEL BOTON DE INGRESAR TEXTO Y LA VARIABLE DEL RESULTADO ES "[Lista3]", NO BUSCA NADA. NO FUNCIONA.

ListBoxFindItem "Lista3" "[value]" "[Lista3]"


INSTRUCCIONES:
- Copia todo el código
- Pegalo en Notepad
- Guardalo con extension .pub

100% probado que funciona.


Code: Select all
NBW Publication Source File
(C)2014 NeoSoft Corp.
Title=Publicación de NeoBook sin título
Language=US
NeoBookVer=5.80
ScreenColors=16777216
ScreenWidth=320
ScreenHeight=200
BkndColor=0
ScreenAutoSize=Yes
LinkColor=16711680
WindowStyle=0
WindowOrder=0
WindowPos=0
WindowProps=31
BiDiMode=0
UseUpdateTimer=Yes
ReturnTime=60
ShapeTransColor=536870912
SplashProps=3
CompileType=0
MediaType=0
FilesIncluded=1
FontsIncluded=2
CopyExternalFiles=No
SetupMedia=3
SetupInstDir=C:\MiPrograma
SetupTitle=Instalación
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=Abrir
MenuState=3
MenuKey=0
MenuAction=SetVar "[WindowState]" "Normal"
MenuName=TrayExit
MenuText=Salir
MenuState=3
MenuKey=0
MenuAction=Exit "" ""
MenuEnd
MasterPage
NewPage=Nueva página
PageStyle=0
PageColor=16777215
PageGradient1=16711680
PageGradient2=255
PageGradientDir=1
WallpaperStyle=0
ObjectType=9
Name=EntradaTexto1
X=3
Y=3
W=218
H=42
Anchor=0
Text=NeoSoftware
VarName=[TextoABuscar]
Align=1
EditLen=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=2
ObjectType=3
Name=Boton1
X=224
Y=3
W=93
H=42
Anchor=0
Text=Buscar
Align=2
ImageStyle=0
ObjAction=ListBoxFindItem "Lista1" "[TextoABuscar]" "[Lista1]"
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=3
ObjectType=10
Name=Lista1
X=3
Y=50
W=313
H=100
Anchor=0
Text=NeoBook¶NeoPlugins¶NeoSoftware
VarName=[Lista1]
VarType=1
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=4
ObjectType=8
Name=Texto1
X=10
Y=162
W=301
H=33
Anchor=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=12632256
Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset1 Arial;}}{\pard{\qc\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs20\cf0 www.asleycruz.com}}}
HMargin=4
VMargin=4
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=0
TabOrder=5
AsleyCruz
Freelancer - Graphic & Type Designer

FREE NEOBOOK APPS: See Website

.
User avatar
AsleyCruz
 
Posts: 106
Joined: Fri Sep 16, 2011 2:12 pm

Re: Buscar en un ListBOX

Postby neobookruletin » Thu Dec 18, 2014 6:42 pm

Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset1 Arial;}}{\pard{\qc\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs20\cf0 www.asleycruz.com}}}
no es lo que pido.
neobookruletin
 
Posts: 31
Joined: Tue Nov 25, 2014 9:17 am

Re: Buscar en un ListBOX

Postby AsleyCruz » Thu Dec 18, 2014 8:32 pm

neobookruletin wrote:Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset1 Arial;}}{\pard{\qc\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs20\cf0 http://www.asleycruz.com}}}
no es lo que pido.


Mira la imagen gif... según lo que preguntas, es lo que buscas!

Image
AsleyCruz
Freelancer - Graphic & Type Designer

FREE NEOBOOK APPS: See Website

.
User avatar
AsleyCruz
 
Posts: 106
Joined: Fri Sep 16, 2011 2:12 pm

Re: Buscar en un ListBOX

Postby neobookruletin » Fri Dec 19, 2014 8:54 am

Si es eso, gracias ernesto
neobookruletin
 
Posts: 31
Joined: Tue Nov 25, 2014 9:17 am


Return to General NeoBook Discussions

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

cron