Jump to content

How to read text from RIch text box


Recommended Posts

I have a control with [ClassNN:TDBWPRichText1]

I tried using the below, but it is not reading the text, please help

$data=ControlGetText("Power of Appeals","Government Agency Information","[ClassNN:TDBWPRichText1]")


The details captured by info tool is below. The ID keeps changing each time I open the application

>>>> Window <<<<

Title: Power of Appeals

Class: TMainForm

Position: -9, -9

Size: 1384, 752

Style: 0x17CF0000

ExStyle: 0x00010100

Handle: 0x002203E4

>>>> Control <<<<

Class: TDBWPRichText

Instance: 1

ClassnameNN: TDBWPRichText1


Advanced (Class): [CLASS:TDBWPRichText; INSTANCE:1]

ID: 789304


Position: 250, 150

Size: 948, 442

ControlClick Coords: 336, 132

Style: 0x56A10000

ExStyle: 0x00000000

Handle: 0x000C0B38

>>>> Mouse <<<<

Position: 595, 343

Cursor ID: 0

Color: 0xFFFFFF

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<

Government Agency Information


Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...