1. Sa se prezinte rezultatul la alegeri, pe judete (minim 5 judete) Fiecare candidat va avea o culoare cu care se vor colora judetele. Date preluate din Excel (prin protocolul DDE) Fuierul excel se numeste Cand_pe_Jud.xls si are forma: 3 255 0 0 CT Ilie 4 0 255 0 BV Ion 7 0 0 255 SB Silviu 17 0 255 0 AR Ion Prima coloana reprezinta id-ul poligonului, urmatoarele trei formeaza culoarea candidatului. Urmeaza denumirea judetului si numele candidatului. Schimbarea culorii de realizeaza cand se trece cu mousul peste respectivul judet. pe pagina se introduc scripturile to handle mouseEnter if object of target = "IrregularPolygon" local int rez local real cul[3] local string temp step j from 1 to 4 getRemote "R"&j&"C1" application "excel" topic "Cand_pe_Jud.xls" put it into temp rez = word 1 of temp if (idNumber of target = rez) step i from 2 to 4 getremote "r"&j&"c"&i application "excel" topic "Cand_pe_Jud.xls" put it into temp cul[i - 1] = word 1 of temp end step rgbfill of target =cul[1],cul[2],cul[3] j = 4 end if end step end if forward end to handle mouseLeave if object of target = "IrregularPolygon" if (idNumber of target>0) and (idNumber of target<18) rgbfill of target =255,255,255 end if end if forward end