English
Forum

Listboxmarkierungen pick up

 

Christof
Neuß
Hello!

I fight with XProfan. so slow find I mere.
have with @Create(Listbox,DLG1&,2,....) a Listbox with Multiple choice prepares and it can too benefit

If the users itself vertan has, would like I The Possibility create, on a shock any Markierungen in the Listbox aufzuheben. only the first entry should then, How at Entry, markiert his.

How GEHTS?

alas Yes, and How I get The chosen Lines in one MultiEdit transfer?
Do I there over a Loop weg?

thanks and Greeting
Christof

p.s.
And then yet 2 SUPER-Beginner-Questions (sorry, if The Answer somewhere stand what about me only not correctly. nachgesehen have...):

when must/must to the @ to whom functions really omit?
MÜSSEN The mark %,&,$ etc. really component the Variablennamens his or serve tappt im dunkeln only the better Overview?
 
Win10 16 GB RAM
02/04/08  
 



Hello Christof
here's first thing time a ZIP-File with of/ one selection of different Listbox-Stilen (of Gerhard Putschalka) - so Have so did i time started - for the question to the @ comes of me The question: which Profan-Version uses You ? - I faith, ex the Version 6.0 can You, the characters lane let.
The others characters must mitgeschrieben go. read times the Help under variables

25 kB
Kurzbeschreibung: Listboxes and Listviews with frühem Profan
Hochgeladen:02/04/08
Downloadcounter139
Download
 
02/04/08  
 




Christof
Neuß
Hello Horst,

thanks for Answer and The Listboxbeispiele. unfortunately answers the my Eingangsfrage somehow not integrally, or?

it must still a lane give, in a list box a Mark umzukehren, or. aufzuheben. with @GetState can I still whom status only check, not settle. I have me now so beholfen, I with ClearList The list complete lösche and then any Entries new reinschreibe (only ca. 15 Piece, therefore free from problems machbar).

Übertrag the chosen Entries into MultiEdit have so did i hinbekommen.
so laaaaangsam Better get going what with my XProfan-Programming.

BTW: What is because so state of the manner? functions sooner with @ or sooner without?
 
Win10 16 GB RAM
02/04/08  
 



no @! Pfui from write everything without @.
 
02/04/08  
 




Andreas
Miethe



CompileMarkSeparation
 $H messages.ph
Def &False 0
Def &True 1
Declare hWin&, hList&,Button&,Quit&
CLS
hList&  = @Create(ListBox, %hwnd, 2, 10, 10, 280, 150)
Button& = @Create(Button, %hwnd, Abwählen, 300, 10, 80, 24)

WhileLoop 1, 15, 1

    @AddString(hList&, Test  + @Str$(&Loop))

EndWhile

Quit& = &False

Repeat

    WaitInput

    If Clicked(Button&)

        SendMessage(hList&,~LB_SETSEL,&False,-1)alle abwählen
        SendMessage(hList&,~LB_SETSEL,&True,0)1. Eintrag wählen

    Endif

    If %Key = 2

        Quit& = &True

    EndIf

Until Quit& = &True

End
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
02/04/08  
 




Christof
Neuß
Supie!

thanks! functions.
 
Win10 16 GB RAM
02/04/08  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

868 Views

Untitledvor 0 min.
RudiB.03/14/20
Julian Schmidt04/28/11

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