English
Forum

Buttons in MultiEdit

 

Alfred
Wagner
Have the following trouble

would like some Buttons in one MultiEdit area insert,only How get to the there that the second Button too yet vollszändig visible is (means that the rights Scroll bar aktiev becomes )? If possible ought to the downstairs Scroll bar neither To see his

example
CompileMarkSeparation
 $P+
SET(ERRORLEVEL,0)
DEF GETSYSCOLOR(1) !USER32,GetSysColor
Declare OK&,Multiedit&
Declare But&,ENDE%
WINDOWSTYLE 31
WINDOWTITLE
WINDOW (%maxx/2 - 200/2),(%maxy/2 - 180/2) - 200,180
SET(TRUECOLOR,1)
CLS GETSYSCOLOR(15)
USEFONT MS Sans Serif,13,0,0,0,0
SETDIALOGFONT 1
Multiedit&=@Create(Multiedit, %HWND, , 20, 10, 150, 90)
OK& =CreateButton(Multiedit&,OK,20,20,90,20)
But&=CreateButton(Multiedit&,Button,20,55,90,20)
SETFOCUS(%HWND)

WHILENOT ENDE%

    WAITINPUT

    If %KEY=2

    ElseIf GetFocus(OK&)

        Ende%=1

    ElseIf GetFocus(Neu&)

    EndIf

ENDWHILE


thanks already time in the vorhinein
Regards
Alfred with family
 
WinXP-Home ,XProfan10

Alfreds ... Freeware :  [...] 
05/10/07  
 



Alfred
whom waagerechten Scroll bar get You lane, if you the level the MultiEdit in negativer Size angibst. with you would the means: -90
but now comment me time, what Buttons in one MultiEdit lost having ???
 
05/10/07  
 




Alfred
Wagner
Hello Horst thanks first time


but now comment me time, what Buttons in one MultiEdit lost having ???


integrally simply there should several Buttons mere, what about me wants to Size the Fensters not Change .
 
WinXP-Home ,XProfan10

Alfreds ... Freeware :  [...] 
05/10/07  
 



yet times for me as stupid - Buttons in one MultiEdit ???- If you whom Focus this MultiEdit setting and then with the ENTER-Button weiterschaltest, go The Buttons gelösch t!!! - One MultiEdit is a Texteditor, there drin having Buttons nothing lost !
 
05/10/07  
 




Frank
Abbing
then helps you The ScrollArea.pcu of iF moreover. so erhälst You a Scrollcontrol.
One MultiEdit stops so did i for imaginable unfit, already because of the Text-Input. then would one Dialog-Window with einfachem welt and without Titelleiste rather suitable.
 
05/10/07  
 




Alfred
Wagner
ohje with the the Focus Have I do not known
will be times the Variante of Frank testing

thanks you both
 
WinXP-Home ,XProfan10

Alfreds ... Freeware :  [...] 
05/10/07  
 



@Frank


then would one Dialog-Window with einfachem welt and without Titelleiste rather suitable.


or one RECTANGLE x,y-x1,y1 !?
 
05/10/07  
 



@Hi Alfred
Have you time a Variation written. Perhaps can You tappt im dunkeln need...
CompileMarkSeparation
 $P+
SET(ERRORLEVEL,0)
DEF GETSYSCOLOR(1) !USER32,GetSysColor
Declare OK&,But&,ENDE%
WINDOWSTYLE 14
WINDOWTITLE
WINDOW (%maxx/2 - 200/2),(%maxy/2 - 180/2) - 200,180
USEICON A
CLS GETSYSCOLOR(15)
USEFONT MS Sans Serif,13,0,0,0,0
SETDIALOGFONT 1
---------------------------------------------------------------------------- neu eingefügt
USEPEN 0,2,RGB(255,0,0)Rahmen 1.Param.:Strichart  | 2.Param.:Strichstärke - Farbe frei wählbar
USEBRUSH 1,RGB(255,255,255) Farbe frei wählbar
RECTANGLE 20,10 - 170,100 Das ist ein Rechteck
ROUNDRECT 20,10 - 170,100;10,10 ...und hier mit abgerundeten Kanten
In der Profan-Hilfe mal nachsehen :)
-------------------------------------------------------------------------------
OK& =CreateButton(%HWND,OK,52,25,90,20)
But&=CreateButton(%HWND,Button,52,65,90,20)

WHILENOT ENDE%

    WAITINPUT

    If %KEY=2

    ElseIf GetFocus(OK&)

        Ende%=1

    ElseIf GetFocus(but&)

        Messagebox(date$(2),,64)

    EndIf

ENDWHILE

 
05/11/07  
 




Frank
Abbing
Horst, it would like the whole but in a scrollenden Box, so too Buttons ausserhalb the visible Bereichs gescrollt go can. everything, circa Space To save.
therefore my suggestion with the Dialog-Window, the for vastly rather geignet his might as your painted Box...
 
05/11/07  
 



@Frank

then I had the wrong understood. thought, it wished whom weißen background.
 
05/11/07  
 




Alfred
Wagner
thanks horst and frank
for your tipps
incidentally frank has the right understood.
lay time the whole on ice-cream
 
WinXP-Home ,XProfan10

Alfreds ... Freeware :  [...] 
05/11/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.481 Views

Untitledvor 0 min.
H.Brill11/24/22
Jörg Sellmeyer06/23/20
RudiB.04/23/20
Peter Max Müller11/13/17
More...

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