Sorry this is a Web 1.0 question…I know Web 1.0 usage just won’t die
Although I do have a current license that includes Web 2.0 – I too have some projects that remain in Web 1.0. I was making a minor update to a remote directory browser that uses Web 1.0 and thought it would be nice to add a picture of a Folder instead of the “DIR” string I currently use to indicate a directory.
I have found that while I can easily add a picture using something like
lbmain.cellPicture(i,0) = smallfolder
I can’t seem to add a picture until the listbox has rendered completely. After I add a row…
lbMain.AddRow(Filetype,FileSize,FileDate,Filename)
I can’t seem to add a Picture yet…because the listbox row hasn’t been rendered yet?
Despite knowing which cell position I want the picture in, and having a good row and column value, I still get an unexplained NilObjectException when trying to attach the picture to any row before the listbox is rendered in the container. Once the listbox is presented to the user… then I can attach the picture to any valid cell location no problem.
Is there some way to attach the web picture before the listbox rows are rendered to the user?
Am I missing something obvious? (Besides rewriting the entire app in web 2.0 right now)
3 posts - 1 participant