Form designer, debugger and form creation support#2
Open
cmgeuze wants to merge 13 commits into
Open
Conversation
…evaluate (deferred-aware) and call stack via IOTADebuggerServices
…Debugger resolves
… tabs/pages), reject non-TWinControl containers, and CaptureImage (PNG via TCustomForm.GetFormImage)
… (now in interface)
…find window, list/find elements by AutomationId or Name, click via InvokePattern, set/get text via ValuePattern)
…) properties like ActivePage/DataSource/Images by referenced component Name
…riving external apps), not the RAD Studio OTA, so it belongs in the consumer, not this OTA helper
…ing (to be removed)
…T<FormName> class) instead of leaving it to the IDE default template, which mangled the class name; removes diagnostic logging
…reateForm, FormDesigner, CaptureImage) and the debugger
…e method stub is written to the unit (mirrors Object Inspector); without it the source stub and DFM binding were lost
…sApiStepMode (Exception_ becomes Exception), rename CurrentLocation to TryGetCurrentLocation, extract TToolsApiSourceFile to its own unit, split Evaluate into EvaluateOnce, begin/end on loops, inline vars, boolean parentheses and English evergreen comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extends the OTA helper with form designer, form creation and debugger support:
T<FormName>; default form size is 640x480.ActivePage/DataSource/Imagesby referenced component name, resolves the native container for tabs/pages before creating child components, and renders a form to PNG viaCaptureImage(TCustomForm.GetFormImage).IDesigner.ShowMethod, so the method stub is written to the unit and the DFM binding stays in sync, mirroring the Object Inspector.IOTADebuggerServices.