Autor Beitrag
NOS1971
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 193

Windows 8.1 PRO 64 Bit
Delphi XE7 Professional
BeitragVerfasst: Sa 06.04.13 18:41 
Hallo,

ich möchte während ich die Sprache einer Software intern umschalte den Bildschirm abdunkeln. Sowas kennt Ihr sicher - ich kann das so schlecht beschreiben. Wie mache ich soetwas ? Was für ansätze gibt es da ?

Danke und Grüße,
Andreas
Tranx
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 648
Erhaltene Danke: 85

WIN 2000, WIN XP
D5 Prof
BeitragVerfasst: Sa 06.04.13 18:48 
Wie lange dauert denn die Sprachumschaltung? Wenn das bloß wenige Sekunden dauert, dann sieht man das eh nicht. Dann kannst Du auch einfach nur das Formular ausblenden und wieder einblenden.

_________________
Toleranz ist eine Grundvoraussetzung für das Leben.
NOS1971 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 193

Windows 8.1 PRO 64 Bit
Delphi XE7 Professional
BeitragVerfasst: Sa 06.04.13 19:01 
Zitat:
Wie lange dauert denn die Sprachumschaltung?


Also im Moment ist es nicht wirklich lange ... ca. 2 Sekunden aber da das Projekt größer wird schätze ich schon das es zwischen 35 und 50 Sekunden dauern könnte.
bummi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1248
Erhaltene Danke: 187

XP - Server 2008R2
D2 - Delphi XE
BeitragVerfasst: Sa 06.04.13 19:26 
Wenn es Deine Delphiversion hergibt ein semitransparentes schwarzes Form drüberlegen

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
object Form5: TForm5
  AlphaBlend = True
  AlphaBlendValue = 200
  Color = clBlack
  FormStyle = fsStayOnTop
end

_________________
Das Problem liegt üblicherweise zwischen den Ohren H₂♂
DRY DRY KISS

Für diesen Beitrag haben gedankt: NOS1971
Mathematiker
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2622
Erhaltene Danke: 1447

Win 7, 8.1, 10
Delphi 5, 7, 10.1
BeitragVerfasst: Sa 06.04.13 19:38 
Hallo,
user profile iconbummi war zwar schneller, aber vielleicht gefällt Dir meine Lösung. :wink:

Beste Grüße
Mathematiker
Einloggen, um Attachments anzusehen!
_________________
Töten im Krieg ist nach meiner Auffassung um nichts besser als gewöhnlicher Mord. Albert Einstein

Für diesen Beitrag haben gedankt: NOS1971
NOS1971 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 193

Windows 8.1 PRO 64 Bit
Delphi XE7 Professional
BeitragVerfasst: Sa 06.04.13 19:47 
Ich hab die Variante mit dem semitransp. Form genommen ... sieht super aus :-) trotzdem danke :-)