Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Integration of the scanner into the IntraWeb application.
#2
Few ways can achieve that
1) If you are using template way
- You can directly write <div style="width: 500px" id="header"></div> in your template

2) Using TIWLabel
- Set RawText property to True
-
Code:
IWLabel1.Caption := '<div style="width: 500px" id="header"></div>'


3) Using TIWRegion
- TIWRegion will be rendered as <div>
- to get the html ID of IWRegion in delphi, you can call IWRegion1.HTMLName
- There may be style set by Intraweb that will conflict with what you want

To start qr code scanner you probably can do this in your form
Code:
CallbackResponse.AddJavaScriptToExecute(S); //S <= string that contain javascript needed to initiate qr code scanner

or if u are using template, u can directly go write <script></script> in the template

There may be other way to do this.
Reply


Messages In This Thread
RE: Integration of the scanner into the IntraWeb application. - by RenSword - 12-06-2023, 10:13 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)