brake problems..(warning light)

Look for a blown wheel cylinder or a leak in the master cylinder. On a disc set-up, look for fluid around the caliper pistons. It could also be a bad hose or a loose connection. You are definitely losing hydraulic pressure if your pedal won`t hold in one place when compressed.