Forum | | | | Web Scanner | Hi,
the next Mini-trouble. an small Output one under-Window. unfortunately are The Radiobuttons ex Pos 4 not To see. what mach I there mere wrong? CompileMarkSeparationhD% = @Create(Dialog,%hWnd,Konfiguration der Parallelen Schnittstelle,100,100,800,500)
StartPaint hD%
Einen Button mit ENDE erzeugen
hB% = @Create(Button,hD%,&OK,700,400,50,50)
DrawText 10,10, Schnittstelle
DRAWtext 160,10,X-Motor
drawtext 340,10,Y-Motor
drawtext 500,10,Z-Motor
DrawText 10,50,PIN 2
DrawText 10,90,PIN 3
DrawText 10,130,PIN 4
DrawText 10,170,PIN 5
DrawText 10,210,PIN 6
DrawText 10,250,PIN 7
DrawText 10,290,PIN 8
DrawText 10,330,PIN 9
@Create(GroupBox,hd%,Richtung ,100,30,80,350)
@Create(GroupBox,hd%,Takt,190,30,80,350)
@Create(GroupBox,hd%,Richtung ,280,30,80,350)
@Create(GroupBox,hd%,Takt,370,30,80,350)
@Create(GroupBox,hd%,Richtung ,460,30,80,350)
@Create(GroupBox,hd%,Takt,550,30,80,350)
ha% = @Create(RadioButton,hd%,,135,50,20,20)
hb% = @Create(RadioButton,hd%,,135,90,20,20)
hc% = @Create(RadioButton,hd%,,135,130,20,20)
hd% = @Create(RadioButton,hd%,,135,170,20,20)
he% = @Create(RadioButton,hd%,,135,210,20,20)
hf% = @Create(RadioButton,hd%,,135,250,20,20)
hg% = @Create(RadioButton,hd%,,135,290,20,20)
hh% = @Create(RadioButton,hd%,,135,330,20,20)
EndPaint
$B HALT!
Regards
Web |
| | | | |
| | Sebastian Sprenger | Hi Web Scanner, it's located on it, that You The variables hD% (and on the side said too hB%) for two different tack verwendest... first erstellst You a dialog and lay it in the Variable hD% ex. on this dialog hD% prepares You further Radiobuttons - and the 4. is even hd%, what itself with the dialog überschneidet. Solution: others Variablennamen... Greeting, Sebastian |
| | | Profan² 7.0e, XProfan 9, 11.2a, FreeProfan32 Windows Vista Home Premium 32-Bit, 2.8 Ghz, 4 GB RAM Windows Me, 1.8 Ghz, 256 MB RAM | 06/30/08 ▲ |
| |
| | Web Scanner | one must first on it punched go. Thank you!
with the Varaibelen have I already sometimes Fun had.
Regards
Web |
| | | | |
| | Jörg Sellmeyer | i'd simply aussagekräftigere names using. Also can You you with a prefix leichter Überblick verschaffen. Z.B. btn_Ende& is the Button for ...; btn_Hilfe&, btn_OK, lb_Anzeige&, u.s.w. rb_Auswahl1&, rb_Auswahl2& could then Radiobuttons his. the little More on Schreibarbeit rewards itself particularly with more Codes. Undwenn You time one halbes year not in a proposition worked have, is the training too plenty leichter. |
| | | Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 07/01/08 ▲ |
| |
| | | Jörg has How always right ...I have me already to langer Time a INC-File written, in which any grundlegenden variables already registered are. z. B. help& neu&, edit&, print&, suche& ende& etc...
The File need I then only to that beginning into new think about einzubinden and already runs The thing
short Variablenbezeichner are today neither More necessary, there eachone enough Arbeitspeicher has (in previous DOS-times watts here awful gespart and after a couple Monaten have you got your own code not any more reading can.) Dialog-Window having by me fundamentally win01&, win02& etc... as Variable and with the Declaration write I me Kurzerklärung moreover DECLARE win01& display for 8 Radiobuttons |
| | | | |
| | Web Scanner | Okay, I will time note ....
I mehre still with the Radiobuttens around. now wished I several groups with Radiobuttons in EINEM Window Show.
If I 2 Split (groups) beget, whom each first Button supra with setcheck set and then time reinclicke, disappears the second gesetzte Button what about me can in both groups only a Button enable. I need in eachone group but a gesetzen Button.
Gibts a ploy How the weg could? alternative is ne Checkbox., I know...
Regards
Web |
| | | | |
| | Dietmar Horn | Each group of RadioButtons with of/ one GroupBox umranden, then works the. |
| | | Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V. [...] Windows 95 bis Windows 7 Profan² 6.6 bis XProfan X2 mit XPSE Das große XProfan-Lehrbuch: [...] | 07/01/08 ▲ |
| |
| | Web Scanner | Hmm, with the Groupbox have I made. I have means two Groupboxen with 8 Buttons. The Buttons are too any in each of/ one Groupbox drinne. Sorry because of whom variables, Have I not yet changed CompileMarkSeparationhD% = @Create(Dialog,%hWnd,Konfiguration der Parallelen Schnittstelle,100,100,800,500)
StartPaint hD%
Einen Button mit ENDE erzeugen
hB% = @Create(Button,hD%,&OK,700,400,50,50)
DrawText 10,10, Schnittstelle
DRAWtext 160,10,X-Motor
drawtext 340,10,Y-Motor
drawtext 500,10,Z-Motor
DrawText 10,50,PIN 2
DrawText 10,90,PIN 3
DrawText 10,130,PIN 4
DrawText 10,170,PIN 5
DrawText 10,210,PIN 6
DrawText 10,250,PIN 7
DrawText 10,290,PIN 8
DrawText 10,330,PIN 9
@Create(GroupBox,hd%,Richtung ,100,30,80,350)
@Create(GroupBox,hd%,Takt,190,30,80,350)
@Create(GroupBox,hd%,Richtung ,280,30,80,350)
@Create(GroupBox,hd%,Takt,370,30,80,350)
@Create(GroupBox,hd%,Richtung ,460,30,80,350)
@Create(GroupBox,hd%,Takt,550,30,80,350)
Block 1 X Motor
ha% = @Create(RadioButton,hd%,,135,50,20,20)
hb% = @Create(RadioButton,hd%,,135,90,20,20)
hc% = @Create(RadioButton,hd%,,135,130,20,20)
hk% = @Create(RadioButton,hd%,,135,170,20,20)
he% = @Create(RadioButton,hd%,,135,210,20,20)
hf% = @Create(RadioButton,hd%,,135,250,20,20)
hg% = @Create(RadioButton,hd%,,135,290,20,20)
hh% = @Create(RadioButton,hd%,,135,330,20,20)
Block 2 X Motor
ka% = @Create(RadioButton,hd%,,225,50,20,20)
kb% = @Create(RadioButton,hd%,,225,90,20,20)
kc% = @Create(RadioButton,hd%,,225,130,20,20)
kk% = @Create(RadioButton,hd%,,225,170,20,20)
ke% = @Create(RadioButton,hd%,,225,210,20,20)
kf% = @Create(RadioButton,hd%,,225,250,20,20)
kg% = @Create(RadioButton,hd%,,225,290,20,20)
kh% = @Create(RadioButton,hd%,,225,330,20,20)
setcheck ha%,1
eck ka%,1
|
| | | | |
| | | I wehre me slow against your Postings if I constantly these edit must only because You simply no [ code ] - day circa your Codes setting! Editier your Posting gefälligst self - right under edit. |
| | | | |
| | Sebastian Sprenger | It's all right less therefore, that You The RadioButtons in GroupBoxes einrahmst, separate around the Order, in the You The RadioButtons and GroupBoxes anlegst. always if You a new GroupBox anlegst, begins too a new group of RadioButtons. in the Übrigen shine Arrays for so a konsistente row of Buttons rather suitable. CompileMarkSeparationdeclare h%[7], k%[7]
Block 1 X Motor
@Create(GroupBox,hd%,Richtung ,100,30,80,350)
h%[0] = @Create(RadioButton,hd%,,135,50,20,20)
h%[1] = @Create(RadioButton,hd%,,135,90,20,20)
h%[2] = @Create(RadioButton,hd%,,135,130,20,20)
h%[3] = @Create(RadioButton,hd%,,135,170,20,20)
h%[4] = @Create(RadioButton,hd%,,135,210,20,20)
h%[5] = @Create(RadioButton,hd%,,135,250,20,20)
h%[6] = @Create(RadioButton,hd%,,135,290,20,20)
h%[7] = @Create(RadioButton,hd%,,135,330,20,20)
Block 2 X Motor
@Create(GroupBox,hd%,Takt,190,30,80,350)
k%[0] = @Create(RadioButton,hd%,,225,50,20,20)
k%[1] = @Create(RadioButton,hd%,,225,90,20,20)
k%[2] = @Create(RadioButton,hd%,,225,130,20,20)
k%[3] = @Create(RadioButton,hd%,,225,170,20,20)
k%[4] = @Create(RadioButton,hd%,,225,210,20,20)
k%[5] = @Create(RadioButton,hd%,,225,250,20,20)
k%[6] = @Create(RadioButton,hd%,,225,290,20,20)
k%[7] = @Create(RadioButton,hd%,,225,330,20,20)
@Create(GroupBox,hd%,Richtung ,280,30,80,350)
@Create(GroupBox,hd%,Takt,370,30,80,350)
@Create(GroupBox,hd%,Richtung ,460,30,80,350)
@Create(GroupBox,hd%,Takt,550,30,80,350)
und so weiter und so away...
Greeting, Sebastian |
| | | Profan² 7.0e, XProfan 9, 11.2a, FreeProfan32 Windows Vista Home Premium 32-Bit, 2.8 Ghz, 4 GB RAM Windows Me, 1.8 Ghz, 256 MB RAM | 07/01/08 ▲ |
| |
| | Web Scanner | @IF Sorry, I Have sought How the goes and habs not The speedy found
now besssa?
@Sebastian -super thanks, now GEHTS moreover |
| | | | |
|
AnswerThemeninformationenthis Topic has 6 subscriber: |