z.khalid,
Remember, the Radials ''radiate'' outwards from the VOR station and heading has nothing to do with TO/FROM indications..Everything comes down to position angle relatively VOR tracking Radial!
In the example above you say you have tracked and are on R270°. That would give a FROM indication. Meaning that since you are on the particular R270° your position is FROM the station VOR. Other positions that also would give you a FROM indication are all Radials ±90° from the R270° you are tracking. That is the range 180° - 360°. Theoretically, if your position would be R001° or R179° tracking R270° you would get a TO indication. I say theoretically because in real flight you would get something in between TO and FROM..
If you now try to intercept R030°, your position R270° would be outside the ±90° FROM range of the chosen R030° (range 300° - 120°), giving you a TO indication.
Hope that sorted things out,
Happy flyin,
Jp