AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Hilfe mit Canvas?

Ein Thema von nisemono · begonnen am 19. Mai 2014 · letzter Beitrag vom 20. Mai 2014
 
Benutzerbild von nachti1505
nachti1505

Registriert seit: 7. Apr 2007
188 Beiträge
 
Delphi 7 Enterprise
 
#17

AW: Hilfe mit Canvas?

  Alt 20. Mai 2014, 09:01
So richtig passt das hier nicht her - aber wie werden Namenskollisionen im with eigentlich aufgelöst?

Delphi-Quellcode:
TFoo = class
  property Foo2: TFoo2;
  procedure DoSomething;
end;

TFoo2 = class
  property Bar: TBar;
  procedure DoSomething;
end;

TBar = class
  procedure DoSomething;
end;

Foo: TFoo;
with Foo do
  with Foo2 do
    with Bar do
      DoSomething;
Was wird aufgerufen? Mein Tipp wäre doSomething von TBar?
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:13 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz