English
Regulars table & Café

XProfan10 RC8 noch'n bow found?

 

Jörg
Sellmeyer
I faith already!
Select String supply with Grid/GridBOX only one Result, if the sought expression the first Spalteninhalt corresponds to:
CompileMarkSeparation
Cls
Declare hGrid&
1. String-Grid erstellen
hGrid&   = Create("GridBox",%hwnd,"Titel 1;0;100;Titel 2;0;100;Titel 3;0;100;Titel 4;0;100",0 ,200, 20,400,400)
2. hier werden die String-Grid-Zeilen hinzugefügt
AddString(hGrid&, "AB|DEF|0123")
AddString(hGrid&, "GHI|J23KL|012345")
AddString(hGrid&, "|MNOP|PQR|")
AddString(hGrid&, "STU||V")
AddString(hGrid&, "ABCD12|STUVW|XYZ0")
Declare I%,I1%
I%=SelectString(hGrid&,-1,"STU")
I1%=SelectString(hGrid&,-1,"S")
 $D "",I%,I1%<
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/11/06  
 




RGH
[quote:fdc1db866b=Jörg Sellmeyer]Select String supply with Grid/GridBOX only one Result, if the sought expression the first Spalteninhalt corresponds to:[/quote:fdc1db866b]
Yes, this is so! The relative Message LVM_FINDITEM seek in the first slot. This will too so in the Help stand.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
10/11/06  
 




Jörg
Sellmeyer
this is already clear, but the Text becomes only found, if it the detailed Spaltentext corresponds to. red my example time walk - it should each time 3 get out. unfortunately is the only I1% the case.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/11/06  
 




RGH
Yes naturally fidet it only whom entry, the very übereinstimmt. Why ought to it differently his?
If I one Stringgrid as Hashtable using would like, would everything else mortal.
naturally could one it too so arrange, that only the beginning coincide must. I see there though none benefit.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
10/12/06  
 



Jörg means, because it with Listboxes too so is.

<offtopic>meine lists.pcu  can both </offtopic>
 
10/12/06  
 




Jörg
Sellmeyer
because the in the Help standing! admittedly The old Help...
[quote:e3176e4d32=Profan-Help]n1: LongInt - lever the Listbox
n2: Integer - Start the Search -1
s: String - Suchbegriff or. beginning the Begriffes
[/quote:e3176e4d32]
but only the power sense.
so as now is, is it z.B. unmöglich unknown terms in a GridBOX to find.
integrally simples example:
Input in the the user a letters types and the list scrolls on The first Fundstelle. ought to really a Selbstverständlichkeit his.
One zusätzliches SelectStringExact or so would naturally not so bad

Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/12/06  
 



One SelectStringExact can You you Yes yourself basteln with (GetString.Fundstelle==Suchtext); else nextSuche.
 
10/12/06  
 




Jörg
Sellmeyer
[quote:cf1cf73191=iF]One SelectStringExact can You you Yes yourself basteln with (GetString.Fundstelle==Suchtext); else nextSuche.[/quote:cf1cf73191]
i will Yes quite no SelectStringExact separate one SelectStringUnExact
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/12/06  
 




RGH
now well, you have me convincing: Füge I the Flag LVFI_PARTIAL hold still hinzu ...

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
10/12/06  
 



[quote:388451659a=Jörg Sellmeyer][quote:388451659a=iF]One SelectStringExact can You you Yes yourself basteln with (GetString.Fundstelle==Suchtext); else nextSuche.[/quote:388451659a]
i will Yes quite no SelectStringExact separate one SelectStringUnExact [/quote:388451659a]
i know still - integrally my speech and would ditto my wish - because with a SelectStringUnExact can itself Yes yourself one SelectStringExact building. Andersrum Yes not...
 
10/12/06  
 




Jörg
Sellmeyer
Hello Roland,
here's another bow or at least a Ungereimtheit:
CompileMarkSeparation
declare Arr$[5]

WhileLoop 0,5

    Arr$[&Loop] = "Test" + Str$(&Loop) + " Elementanzahl: " + Str$(Int(&Loop + 1))

Wend

WhileLoop 0,5

    Print Arr$[&Loop]

Wend

nput

One aray of 5 Elementen allows The input of 6 Elementen. at least XP Prof. becomes not notice but who can tell, whether others systems there similar tolerant (or blind) are.

Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
10/13/06  
 




Torsten
Rümker
[quote:bbe6dd2ef3=Jörg Sellmeyer]One aray of 5 Elementen allows The input of 6 Elementen. at least XP Prof. becomes not notice but who can tell, whether others systems there similar tolerant (or blind) are.[/quote:bbe6dd2ef3]
I faith the was already To times of XProfan 8 so.
one catches indeed with zero on To count, only Whileloop goes first with 1 go.
I faith something in the manner as Info in the Help red to have.

MfG
Torsten
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
10/13/06  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.505 Views

Untitledvor 0 min.
Peter Max Müller06/01/15

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie