Jump to content

Click the link below to see the new game I'm developing!

- - - - -

ColumnHeader and SortOnColumnClick

3 replies to this topic

#1 Stef



  • Members
  • PipPip
  • 18 posts
  • Gender:Male
  • Location:London, UK

Posted 09 March 2007 - 10:13 AM

The headings that should be invoked by .ColumnHeader don't always appear and using SortOnColumnClick (on a listbox) causes a run-time error.
Known bugs? Any way round them? Need to upgrade?

#2 Joseph Bove

Joseph Bove

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 756 posts
  • Gender:Male
  • Location:Ramsey, United States

Posted 12 March 2007 - 05:46 PM


Run-time error with Sort on column click:

Make sure that you are not doing any LSCALLs in the paging screen. An LSCALL will kill the session in 5.5

We've restructured a number of our screens to post to temp files before hand to get around any need for an LSCALL.



#3 Lewis Mccabe

Lewis Mccabe

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 455 posts
  • Gender:Male
  • Location:Sarasota, Florida

Posted 05 September 2007 - 02:50 AM

There is a known bug in .SortOnColumnClick which generates a run time error. I think it was fixed in build 5.1.8. It was a kernel issue.

#4 Donald Miller

Donald Miller

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 205 posts
  • Gender:Male
  • Location:Cupar, Fife, Scotland
  • Interests:Motorcycling, Running, Cooking

Posted 12 September 2007 - 07:28 PM

Hi Stef

Found some notes that said:

For Windows XP in a paging cycle:

.ColumnHeader must be set for all fields in the paging cycle
.SmoothModeSwitch must be set to TRUE for the paging cycle

and apparently

Clicking on a column header will re-execute the paging cycle with the appropriate sort key

But a logic search shows I'm not using it. The notes are maybe from tinkering around with VIP.
Half of what he said meant something else, and the other half didn't mean anytthing at all

Reply to this topic


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Click the link below to see the new game I'm developing!