Home > database >  Pictures of PB in the Datawindow loading problem
Pictures of PB in the Datawindow loading problem

Time:09-17

Dynamic loading pictures and PB in the Datawindow selectblob, under the condition of the image is more efficiency will be lower, program caton phenomenon, is there a way to make the Datawindow master dynamic loading pictures and for the operation of the Datawindow (such as rolling, click, etc.) to distinguish, i.e. images to load images, but also can be operated to Datawindow? Images are generated by the Modify the dynamic, variable number,

CodePudding user response:

Datawindow dynamic loading images is not recommended in the Datawindow, put in a picture in the window controls, reoccupy selectblob when click on a row, then displayed

CodePudding user response:

The key is to dynamically generate more than one picture to load, Datawindow is Freedom

CodePudding user response:

Loading images are downloaded to the temporary directory, then the path to return to the corresponding download pictures [list], and set the column to: displayaspic, so you can show a lot of pictures at a time, just number, or there will be a card phenomenon, therefore, can have a try multithreaded type load, a process, only responsible for download images, and return after the download path, to the dw in the window, the window to create a new processing of events, each trigger, the received images assign values to the corresponding column in the dw,

CodePudding user response:

Multithreaded way, it is hard, no great significance, to write a lot of code, but also create a custom object, very trouble, so, or get a progress bar, said the number of images to be loaded, the loading schedule, is so convenient
  • Related