After the search is implemented, if you add a flickering effect, the effect will be more obvious. You can use a time control to change the vstyle;
You can also set the process sleep time, change the visibility, and use a loop to control the number of flashes.
Previous implementationCodeAs follows:
Use a time control to change the vstyle
Featurelayer fl = This . Mapcontrol1.map. Layers [ " Pathline " ] As Featurelayer;
Featureoverridestylemodifier fsm2 = New Featureoverridestylemodifier ( " Fsm2 " , " Fsm2 " , New MapInfo. Styles. compositestyle ( New MapInfo. Styles. areastyle ( New MapInfo. Styles. simplelinestyle ( New MapInfo. Styles. linewidth ( 3 , MapInfo. Styles. linewidthunit. pixel ), 2 , System. Drawing. color. Purple ), New MapInfo. Styles. simpleinterior ( 2 , System. Drawing. color. Yellow ))));
// Removes the old Modifier
Fl. modifiers. Remove ( " Fsm1 " );
// Adds the new Modifier
Fl. modifiers. append (fsm2 );