Autor Beitrag
Leuchtturm
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Mi 29.08.07 12:22 
Hi,
ich will das mein Formular nicht vom User geändert werden kann.
Ich habe da die eigenschaft locked gefunden. Diese wirkt dich aber leider nur auf den Designer aus :(
Ich habe auch schon gesucht und probiert aber nichts gefunden :bawling:
Was kann man machen das vorallem die Position des Fensters nicht vom User geändert werden kann :?:
Vielen Dank im voraus :flehan:
Leuchtturm
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Mi 29.08.07 12:28 
Was meinst Du denn mit ändern? Also wenn ich ein Programm starte, kann ich als Nutzer irgendwie kaum noch was an den Formularen ändern. Nur Größe und Position.

Während man bei der Größe einfach den entsprechenden FormBorderStyle nehmen kann, würde ich Dir als Nutzer ein Fenster, dessen Position ich nicht ändern kann, um die Ohren hauen. ;-)

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Mi 29.08.07 14:42 
Ich meine Position und Größe.
BorderStyle :autsch: hät ich auch selber darauf kommen können
Es soll ähnlich wie Rainlendar sein mit der Fensterhandhabung.
Also kann man einstellen das das Fenster fixiert ist. :wink:
Das müsste ich hinkriegen weiß aber nicht wie :(
Mir würde ja ein stichwort reichen.
Leuchtturm
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Mi 29.08.07 15:12 
Dann hier msdn2.microsoft.com/...mework/aa497373.aspx mal nach dem Abschnitt "How do I prevent a user from moving a form?" suchen.

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Mi 29.08.07 15:17 
Danke probier ich heute abend mal aus
huuuuuh
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 665
Erhaltene Danke: 19

win xp, (win vista), win 7
VS 2008 Express Edition, VS 2010 Express Edition, VS 2010 Professionell
BeitragVerfasst: Sa 12.12.09 14:38 
sorry, dass ich diesen uralten thread von seiner meterdicken staubschicht befreie :oops: aber hab da ein ähnliches problem. mit FormBorderStyle kann ich zwar eine änderung der größe durch ziehen verhindern, jedoch nicht maximieren bzw. minimieren. gibt es da noch andre möglichkeiten?
JasonDelife
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81

Windows 7 Professional
C# (Visual Studio 2008 Professional), Java (NetBeans IDE 6.7)
BeitragVerfasst: Sa 12.12.09 15:30 
Eine Minute in den Properties von Form stöbern und man findet:
ausblenden C#-Quelltext
1:
2:
MaximizeBox
MinimizeBox


Grüße, JasonDelife.
huuuuuh
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 665
Erhaltene Danke: 19

win xp, (win vista), win 7
VS 2008 Express Edition, VS 2010 Express Edition, VS 2010 Professionell
BeitragVerfasst: Sa 12.12.09 16:28 
danke :)