The following code works great (ItemNum::OnDraw) as long as Just In Time Compilation is set to "OFF" in sesame.ini. If it's set to "ON", then the initial Sesame screen for the app loads, but as soon as I try to go to a form, the screen blinks and then nothing happens visually, although Task Manager shows the CPU being loaded to about a constant 40%.
If (@Right(ItemCat, 2) = "WE") or (@Right(ItemCat, 2) = "RE") { //RGBColor(ItemCat, 0, 127, 0, -1, -1, -1) RGBColor(ItemNum, 0, 127, 0, -1, -1, -1) //RGBColor(ItemDesc, 0, 127, 0, -1, -1, -1) }
else If (@Right(ItemCat, 2) = "WX") { //RGBColor(ItemCat, 255, 0, 0, -1, -1, -1) RGBColor(ItemNum, 255, 0, 0, -1, -1, -1) //RGBColor(ItemDesc, 255, 0, 0, -1, -1, -1) } else If (@Right(ItemCat, 2) = "WW") { //RGBColor(ItemCat, 0, 0, 127, -1, -1, -1) RGBColor(ItemNum, 0, 0, 127, -1, -1, -1) //RGBColor(ItemDesc, 0, 0, 127, -1, -1, -1) } else { //RGBColor(ItemCat, 0, 0, 0, -1, -1, -1) RGBColor(ItemNum, 0, 0, 0, -1, -1, -1) //RGBColor(ItemDesc, 0, 0, 0, -1, -1, -1) }
|