Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Search Solution

Post Reply
User avatar
salvadordf
Posts: 4355
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Search Solution

Post by salvadordf »

Hi,
turfbase wrote: Wed Sep 27, 2017 12:12 pm First I installed your latest version and all the demos are asking me the same problem: When I close the demo this one goes under the IDE in debug mode CPU ??? and otherwise I can not get out except with CTRL ALT DELETE.
What Delphi version do you have ?
Are you using a custom cache directory ?
turfbase wrote: Wed Sep 27, 2017 12:12 pm Do you speak French ?
Sorry but I only speak Spanish and English.
I understand most Italian but I only understand 40-60% of the words in other latin languages like French.
turfbase wrote: Wed Sep 27, 2017 12:12 pm I need the following option:
From the main form, I click on a button that opens another form where there is a TpageControl with 5 tabs and in each tab a browser.
The first tab must load in Flash mode the following address http://www.pmu.fr/turf/live-et-replay/
The second Tabs should load the address like this: https://www.pmu.fr/turf/27092017/R1/C1
The third tab must load the address as below: https: //www.zeturf.fr/fr/course/2017-09-27/R6C1 ... osque/turf
the 4th and 5th will be a later choice.
I must be able to modify by program, to me to realize, the addresses of Tabs 2 to 5.
The addresses will be loaded when the form is created or OnShow. They can be changed by me by program.
You can use the TabbedBrowser demo for that. You only need to make some minor modifications.
  • Replace GlobalCEFApp.FlashEnabled := False; by GlobalCEFApp.FlashEnabled := True; in the DPR file.
  • Delete the button bar but keep the TMainForm.AddTabBtnClick and TMainForm.RemoveTabBtnClick functions to add and remove all the tabs you want.
  • Use TMainForm.BrowserCreatedMsg to load a custom URL for each tab using the TChromium.LoadURL procedure.
  • Use the CloseQuery event in your main form to hide your app from the task bar and then close all the tabs following the destruction sequence described in the TabbedBrowser code comments. When all the tabs are destroyed you can send WM_CLOSE to your main form.
Post Reply