advertisement

Article:
  Working With Bitmap Images; Document-Based Application Redux
Subject:   validateScrollers question
Date:   2002-10-03 02:50:15
From:   stupidfish23
Response to: validateScrollers question

just add the line


[view validateScrollers];


to your scaleImageTo: method.


so it basically looks like:
- (void)scaleImageTo:(float)_scale
{
if(_scale>0)
scale=_scale;

[view scaleFrameBy:scale];
[zoomControl setFloatValue:(scale*100)];
[view validateScrollers];
}


it works great for me.
stupidFish23